
/* ==================================================
   RAID VINTAGE AVENTURE
   FEUILLE DE STYLE PRINCIPALE
   ================================================== */


/* 1. COULEURS ET RÉGLAGES GÉNÉRAUX
   ================================================== */

:root {
  --forest: #1e3029;
  --forest2: #2c4238;
  --cream: #f7f4ed;
  --paper: #fffdf8;
  --copper: #b8783b;
  --gold: #d7a56c;
  --ink: #202d28;
  --muted: #66716b;
  --line: #e5ded2;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --script: "Kalam", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

a {
  color: inherit;
}


/* 2. LIEN D'ACCÈS RAPIDE
   ================================================== */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 100;
  padding: .7rem;
  background: #fff;
}

.skip-link:focus {
  left: 1rem;
}


/* 3. EN-TÊTE ET LOGO
   ================================================== */

.site-header {
  height: 84px;
  min-height: 84px;
  padding: 0 clamp(20px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(30, 48, 41, .08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1.05;
  min-width: 0;
}

.site-header .site-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin: 0;
  flex: 0 0 auto;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -3px;
  border: 2px solid var(--copper);
}

.brand-mark span {
  color: #fff;
}

.site-header .brand-name {
  color: #e87518;
  font-size: 23px;
  letter-spacing: 1.3px;
  font-weight: 800;
  line-height: 1.2;
}


/* 4. MENU PRINCIPAL
   ================================================== */

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
}

.main-nav a {
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  text-align: center;
  transition: color .2s;
}

.main-nav a:hover {
  color: var(--copper);
}

.main-nav .nav-cta {
  padding: 12px 18px;
  border-radius: 40px;
  background: var(--forest);
  color: #fff;
}

.nav-cta span {
  color: var(--gold);
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--forest);
  margin: 5px;
}


/* 5. PAGE D'ACCUEIL
   ================================================== */

.hero {
  min-height: 610px;
  position: relative;
  display: flex;
  align-items: center;
  background: #6b7466 url("photos-rva/20240501_083257.jpg") center 52% / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 32, 26, .83), rgba(18, 32, 26, .48) 48%, rgba(18, 32, 26, .08)),
    linear-gradient(0deg, rgba(14, 24, 20, .45), transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px clamp(24px, 10vw, 150px);
  max-width: 900px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 2.6px;
  color: var(--copper);
  font-weight: 700;
  margin: 0 0 15px;
}

.eyebrow.light {
  color: #e4b57e;
}

.hero h1,
.contact-copy h2 {
  font: 700 clamp(48px, 7vw, 88px) / 1.04 var(--serif);
  letter-spacing: -2px;
  margin: 0 0 22px;
}

.hero h1 span,
.contact-copy h2 span {
  font-family: var(--script);
  font-weight: 400;
  color: #e6b77e;
  letter-spacing: -1px;
}

.hero-lead {
  font-size: clamp(16px, 2vw, 20px);
  max-width: 520px;
  color: #f2eee7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 22px;
  border: 0;
  border-radius: 3px;
  text-decoration: none;
  text-transform: uppercase;
  font: 700 11px var(--sans);
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform .2s, background .2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-copper {
  background: var(--copper);
  color: #fff;
}

.button-copper:hover {
  background: #995d2e;
}

.button-dark {
  background: var(--forest);
  color: #fff;
}

.text-link {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.light-link {
  color: #fff;
}

.hero-stamp {
  position: absolute;
  right: clamp(24px, 8vw, 120px);
  bottom: 65px;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(9deg);
  color: #fff;
  font-size: 9px;
  letter-spacing: 2px;
}

.hero-stamp strong {
  font: 700 28px var(--serif);
  color: #e6b77e;
  letter-spacing: 0;
}

.hero-caption {
  position: absolute;
  right: clamp(24px, 5vw, 70px);
  bottom: 20px;
  font-size: 10px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #fff;
}


/* 6. PRÉSENTATION DE L'ASSOCIATION
   ================================================== */

.section-wrap {
  padding: 100px clamp(24px, 8vw, 120px);
}

.intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
}

.intro h2,
.section-heading h2,
.tunisia-copy h2 {
  font: 700 clamp(32px, 4vw, 48px) / 1.15 var(--serif);
  margin: 0 0 24px;
  letter-spacing: -.7px;
}

.intro h2 span,
.tunisia-copy h2 span {
  color: var(--copper);
}

.intro-copy > p:not(.eyebrow):not(.handwritten) {
  max-width: 650px;
  color: #515d56;
}

.handwritten {
  font: 400 26px var(--script);
  color: var(--copper);
  margin-top: 25px;
}

.fact-card {
  padding: 30px;
  background: var(--cream);
  display: grid;
  gap: 25px;
}

.fact {
  display: flex;
  gap: 16px;
  align-items: center;
}

.fact-icon {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: #fff;
  font-size: 23px;
}

.fact strong {
  font-size: 13px;
}

.fact p {
  font-size: 12px;
  color: var(--muted);
  margin: 2px 0 0;
}


/* 7. BANDEAU VÉHICULES
   ================================================== */

.vehicle-band {
  position: relative;
  background: var(--forest);
  color: #fff;
  min-height: 470px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.vehicle-bg {
  position: absolute;
  inset: 0 0 0 35%;
  background:
    linear-gradient(90deg, var(--forest), rgba(30, 48, 41, .68) 22%, rgba(30, 48, 41, .06)),
    url("photos-rva/20240501_090701.jpg") center / cover;
}

.vehicle-content {
  position: relative;
  padding: 76px clamp(24px, 8vw, 120px);
  max-width: 820px;
}

.vehicle-content h2 {
  font: 700 clamp(35px, 4.5vw, 54px) / 1.1 var(--serif);
  margin: 0 0 18px;
}

.vehicle-content h2 span {
  font-family: var(--script);
  font-weight: 400;
  color: #e6b77e;
}

.vehicle-content > p:not(.eyebrow) {
  max-width: 550px;
  color: #e0e6df;
}

.vehicle-tags {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.vehicle-tags span {
  display: flex;
  flex-direction: column;
  min-width: 76px;
}

.vehicle-tags b {
  font-size: 14px;
}

.vehicle-tags small {
  font-size: 10px;
  color: #d6b38d;
}


/* 8. LES RAIDS ET LE PROCHAIN DÉPART
   ================================================== */

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 35px;
}

.section-heading > p {
  max-width: 430px;
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 6px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.raid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.raid-card {
  background: #fff;
  border: 1px solid var(--line);
  min-width: 0;
}

.raid-card img {
  width: 100%;
  height: 220px;
}

.raid-card-body {
  padding: 24px;
}

.card-kicker {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: var(--copper);
  font-weight: 700;
  text-transform: uppercase;
}

.raid-card h3 {
  font: 700 22px var(--serif);
  margin: 10px 0;
}

.raid-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.notice {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 25px 0;
}


/* 9. LA TUNISIE
   ================================================== */

.tunisia-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
  min-height: 460px;
}

.tunisia-photo {
  background: url("photos-rva/sable.jpg") center / cover;
  min-height: 420px;
}

.tunisia-copy {
  padding: 70px clamp(28px, 7vw, 100px);
  align-self: center;
}

.tunisia-copy > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 470px;
  margin-bottom: 28px;
}


/* 10. GALERIE ET DIAPORAMA
   ================================================== */

#galerie {
  padding: 70px 24px;
}

#galerie > h2 {
  text-align: center;
  font: 700 38px var(--serif);
}

.slideshow {
  position: relative;
  width: 100%;
  max-width: 650px;
  height: 340px;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 12px;
  background: #222;
}

#rva-slideshow .slide {
  display: none !important;
  width: 100%;
  height: 340px;
}

#rva-slideshow .slide.active {
  display: block !important;
}

#rva-slideshow .slide img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: contain;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, .65);
  color: white;
  font-size: 22px;
  cursor: pointer;
}

.slide-prev {
  left: 12px;
}

.slide-next {
  right: 12px;
}

.slide-counter {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(0, 0, 0, .7);
  color: white;
  font-size: 14px;
}


/* 11. BOUTIQUE
   ================================================== */

.boutique-section {
  padding: 70px 24px;
}

.boutique-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.boutique-produits {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  width: 100% !important;
  max-width: 1200px;
  margin: 35px auto 0;
}

.boutique-produits .produit {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box;
}

.boutique-produits .produit img {
  width: 100%;
  max-width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
}

.boutique-produits .produit h3,
.boutique-produits .produit p {
  overflow-wrap: break-word;
}

.boutique-commande {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 10px;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  border-radius: 8px;
  background: #c65d2e;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.boutique-commande:hover {
  background: #8f3f20;
}


/* 12. CONTACT
   ================================================== */

.contact-section {
  background: var(--forest);
  color: #fff;
  padding: 90px clamp(24px, 8vw, 120px);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-copy,
.contact-form {
  width: 100%;
  min-width: 0;
}

.contact-copy h2 {
  font-size: clamp(38px, 5vw, 62px);
}

.contact-copy > p:not(.eyebrow) {
  color: #d8e0da;
  max-width: 500px;
}

.contact-people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 30px;
  width: 100%;
  margin-top: 24px;
}

.contact-people p {
  margin: 0;
  padding: 16px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
}

.contact-people strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.contact-people a {
  color: #e6a36f;
  font-weight: 700;
  text-decoration: none;
  font-size: 17px;
}

.contact-people a:hover {
  text-decoration: underline;
}

.contact-small {
  font-size: 11px;
  opacity: .8;
  margin-top: 35px;
}


/* 13. FORMULAIRE DE CONTACT
   ================================================== */

.contact-form {
  background: #fff;
  color: var(--ink);
  padding: 30px;
  display: grid;
  gap: 9px;
}

.contact-form label {
  display: block;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  margin: 7px 0 4px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  border: 1px solid #d5d5d5;
  background: #fff;
  padding: 10px 11px;
  font: 14px var(--sans);
  border-radius: 8px;
  color: #333;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--copper);
  outline-offset: 1px;
}

.contact-form textarea {
  min-height: 70px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #666;
  opacity: 1;
}

.contact-form select option {
  background: #fff;
  color: #222;
}

.form-submit {
  margin-top: 12px;
  width: 100%;
}

.form-status {
  font-size: 12px;
  color: var(--forest);
  margin: 0;
  min-height: 1.2em;
}


/* 14. BOUTON DE TÉLÉCHARGEMENT PDF
   ================================================== */

.download-link {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 22px;
  background: #e87524;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color .2s ease;
}

.download-link:hover {
  background: #bd5717;
}


/* 15. PIED DE PAGE
   ================================================== */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px clamp(24px, 5vw, 76px);
  background: #17251f;
  color: #dce3dd;
  font-size: 11px;
}

.site-footer .site-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin: 0;
}

.brand-footer .brand-mark {
  width: 38px;
  height: 38px;
  font-size: 15px;
}

.brand-footer .brand-name {
  color: #e6a15a;
  font-size: 22px;
  line-height: 1.3;
}

.brand-footer .brand-name em {
  font-size: 15px;
}

.site-footer p {
  margin: 0;
}

.footer-note {
  max-width: 340px;
  color: #aab7ae;
}

.back-top {
  text-decoration: none;
  color: #e6b77e;
  font-weight: 700;
}


/* 16. TABLETTES ET PETITS ÉCRANS
   ================================================== */

@media (max-width: 900px) {

  .site-header {
    height: 74px;
    min-height: 74px;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
    cursor: pointer;
    z-index: 60;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 20px 25px 26px;
    box-shadow: 0 14px 22px #17251f18;
    align-items: stretch;
    gap: 0;
    flex-direction: column;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    text-align: center;
    white-space: normal;
    line-height: 1.3;
  }

  .main-nav .nav-cta {
    margin-top: 12px;
    text-align: center;
    border: 0;
  }

  .hero {
    min-height: 570px;
  }

  .hero-content {
    padding: 70px 8vw;
  }

  .hero-stamp {
    right: 25px;
    bottom: 55px;
    width: 90px;
    height: 90px;
  }

  .hero-stamp strong {
    font-size: 22px;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .fact-card {
    grid-template-columns: 1fr 1fr;
  }

  .vehicle-bg {
    left: 15%;
    opacity: .7;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 18px;
  }

  .raid-cards {
    grid-template-columns: 1fr 1fr;
  }

  .raid-card:last-child {
    grid-column: span 2;
  }

  .tunisia-copy {
    padding: 50px 35px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid img {
    height: 220px;
  }

  .gallery-grid img:nth-child(even) {
    margin-top: 0;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-form {
    max-width: 650px;
  }

  .boutique-produits {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}


/* 17. TÉLÉPHONES
   ================================================== */

@media (max-width: 600px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    height: 74px;
    min-height: 74px;
    padding: 0 14px;
    gap: 8px;
  }

  .site-header .brand {
    gap: 7px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-header .site-logo {
    width: 44px;
    height: 44px;
  }

  .site-header .brand-name {
    font-size: 11px;
    letter-spacing: .4px;
    line-height: 1.15;
  }

  .menu-toggle {
    padding: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .hero {
    min-height: 620px;
    background-position: 58% center;
  }

  .hero-content {
    padding: 60px 24px 130px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-stamp {
    width: 76px;
    height: 76px;
    bottom: 47px;
    right: 20px;
    font-size: 7px;
  }

  .hero-stamp strong {
    font-size: 18px;
  }

  .hero-caption {
    left: 24px;
    right: auto;
    font-size: 8px;
  }

  .section-wrap {
    padding: 70px 24px;
  }

  .intro h2,
  .section-heading h2,
  .tunisia-copy h2 {
    font-size: 34px;
  }

  .fact-card {
    grid-template-columns: 1fr;
    padding: 23px;
  }

  .vehicle-band {
    min-height: 540px;
  }

  .vehicle-bg {
    inset: 0;
    background-position: center;
    opacity: .5;
  }

  .vehicle-content {
    padding: 65px 24px;
  }

  .vehicle-tags {
    gap: 18px;
  }

  .vehicle-tags span {
    min-width: 78px;
  }

  .raid-cards {
    grid-template-columns: 1fr;
  }

  .raid-card:last-child {
    grid-column: auto;
  }

  .raid-card img {
    height: 210px;
  }

  .tunisia-section {
    grid-template-columns: 1fr;
  }

  .tunisia-photo {
    min-height: 260px;
  }

  .tunisia-copy {
    padding: 48px 24px;
  }

  #galerie {
    padding: 50px 14px;
  }

  #galerie > h2 {
    font-size: 30px;
  }

  #rva-slideshow {
    height: 220px;
  }

  #rva-slideshow .slide,
  #rva-slideshow .slide img {
    height: 220px;
  }

  .boutique-section {
    padding: 50px 12px;
  }

  .boutique-produits {
    grid-template-columns: 1fr !important;
    gap: 18px;
    padding: 0 12px;
  }

  .contact-section {
    padding: 65px 24px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-people {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-form {
    padding: 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-note {
    max-width: none;
  }
}


/* 18. ACCESSIBILITÉ : ANIMATIONS RÉDUITES
   ================================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}