/* ══════════════════════════════════════════════
   LANDING PAGE DAKHLA — V3 (Harmonisé avec index.html)
   Ambre #B45309 · pleine largeur en hero
   ══════════════════════════════════════════════ */

:root {
  --navy:        #1a2c5b;
  --navy-light:  #2a4080;
  --white:       #ffffff;
  --text-muted:  #868482;
  --border:      rgba(26, 44, 91, 0.15);
  --amber:       #B45309;
  --amber-soft:  #C2410C;
  --amber-dark:  #291e28;
  --amber-bg:    #FAEEDA;
  --font:        'Manrope', sans-serif;
  --max-w:       1200px;
  --pad:         clamp(1.5rem, 5vw, 4rem);
  --transition:  250ms ease-out;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--amber-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p + p { margin-top: 1em; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section-grid {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
}

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding-block: 1rem;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.header-identity { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--amber); }
.header-link {
  transition: color var(--transition), border-color var(--transition);
  margin-top:6px;
}
.header-link:hover { color: var(--amber-light); border-color: var(--amber-light); }
.header-identity-link { text-decoration: none; color: inherit; }
.header-identity-link:hover .header-identity { color: var(--amber-light); }

/* ── SECTIONS ── */
.section { padding-block: clamp(2rem, 4vw, 4rem); }

/* ── HERO PLEINE LARGEUR ── */
.section--deco-hero {
  padding: 0 0 clamp(2rem, 4vw, 4rem);
}
.deco-hero-photo {
  width: 100%;
  height: clamp(280px, 50vw, 540px);
  object-fit: cover;
  object-position: center 45%;
  display: block;
}
.deco-hero-text-wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3.5rem) var(--pad) 0;
  text-align: center;
}
.deco-titre-deconnexion {
  height: 138px;
  width: auto;
  max-width: 100%;
  margin: 0 auto 1.75rem;
  display: block;
}
.deco-dates {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.85;
  letter-spacing: 0.01em;
  padding: 0.85rem 0;
  border-top: 1px solid var(--amber);
  border-bottom: 1px solid var(--amber);
  max-width: 44ch;
  margin: 0 auto;
}

/* ── TITRES MANUSCRITS AMBRE ── */
.deco-titre {
  width: auto;
  max-width: 100%;
  display: block;
  padding-top: 0.2em;
}
.deco-titre-invitation   { height: 68px; }
.deco-titre-proposition  { height: 66px; }
.deco-titre-deroulement  { height: 67px; }
.deco-titre-en-pratique  { height: 80px; }   /* agrandi pour matcher visuellement Déroulement */
.deco-titre-reserver     { height: 64px; }

/* ── CONTENU DES SECTIONS ── */
.deco-content {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--amber-dark);
}
.deco-content p { margin: 0 0 1em; }

/* ── CITATIONS ── */
.deco-citation {
  margin: 1.5rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--border);
}
.deco-citation p {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text-muted);
  margin: 0 0 0.3rem;
}
.deco-citation footer {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ── ENCART TARIF ── */
.deco-tarif {
  font-size: 0.95rem;
  padding: 1rem 1.25rem;
  background: var(--amber-bg);
  border-left: 3px solid var(--amber);
  border-radius: 2px;
  margin-bottom: 1rem;
  color: var(--amber-dark);
  line-height: 1.65;
}
.deco-tarif strong { color: var(--amber); font-weight: 600; }

/* ── LIEN BROCHURE (en gras) ── */
.deco-brochure {
  margin: 0 0 2.5rem;
  font-size: 0.95rem;
}
.deco-brochure a {
  color: var(--amber);
  border-bottom: 1px solid rgba(180, 83, 9, 0.4);
  padding-bottom: 1px;
  transition: color 200ms ease, border-color 200ms ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.deco-brochure a strong { font-weight: 700; }
.deco-brochure a:hover {
  color: var(--amber-soft);
  border-color: var(--amber-soft);
}
.deco-brochure-arrow {
  display: inline-block;
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1;
}

/* ── ACCORDÉON FAQ (HARMONISÉ AVEC INDEX.HTML) ── */
.accordion { width: 100%; }

.accordion-trigger {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding-block: 1.25rem;           /* Harmonisé: 0.95rem → 1.25rem */
  color: var(--amber);
  font-family: var(--font);
  font-size: 1.2rem;                /* Harmonisé: 0.92rem → 1.2rem */
  font-weight: 600;
  line-height: 1.25;                /* Harmonisé: 1.5 → 1.25 */
  transition: color var(--transition);
}
.accordion-trigger:hover,
.accordion-trigger:focus-visible { color: var(--amber-light); outline: none; }
.accordion-trigger:focus-visible { outline: 2px solid var(--amber-light); outline-offset: 2px; border-radius: 2px; }
.accordion-label {
  flex: 1;
  color: var(--amber);
}

.accordion-chevron {
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 400;
  display: inline-block;
  transition: transform var(--transition);
  line-height: 1;
}
.accordion-item.is-open .accordion-chevron { transform: rotate(90deg); }

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition);
  overflow: hidden;
}
.accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; }

.accordion-body {
  overflow: hidden;
  padding-bottom: 3.5rem;           /* Harmonisé: 1.1rem → 3.5rem (pour l'effet fade) */
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  /* NOUVEAU : Effet fade comme index.html (4 lignes visibles avec dégradé) */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  mask-image: linear-gradient(to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 40%,
    rgba(0,0,0,0.4) 85%,
    rgba(0,0,0,0) 100%
  );
  -webkit-mask-image: linear-gradient(to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 40%,
    rgba(0,0,0,0.4) 85%,
    rgba(0,0,0,0) 100%
  );
}

/* NOUVEAU : Annuler le fade quand l'accordéon est ouvert */
.accordion-item.is-open .accordion-body {
  display: block;
  -webkit-line-clamp: unset;
  mask-image: none;
  -webkit-mask-image: none;
}

.accordion-body strong { color: var(--amber-dark); font-weight: 600; }

/* ── CONTACT / RÉSERVER ── */
.contact-content { display: flex; flex-direction: column; gap: 2rem; }
.contact-intro { font-size: clamp(1rem, 1.8vw, 1.15rem); max-width: 52ch; }
.contact-cta-row { display: flex; align-items: center; gap: 2.5rem; }
.contact-cta {
  font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 700;
  padding-bottom: 2px;
  white-space: nowrap;
  color: var(--amber);
  border-bottom: 2px solid var(--amber);
  transition: color var(--transition), border-color var(--transition);
}
.contact-cta:hover { color: var(--amber-soft); border-bottom-color: var(--amber-soft); }
.contact-ancre { height: 120px; width: auto; opacity: 0.85; flex-shrink: 0; }

/* ── FOOTER ── */
.site-footer { border-top: 1px solid var(--border); padding-block: 2rem; }
.footer-inner { display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }
.footer-item { font-size: 0.82rem; color: var(--text-muted); }
.footer-sep { color: var(--border); }
.footer-link { color: var(--text-muted); transition: color var(--transition); border-bottom: 1px solid transparent; }
.footer-link:hover { color: var(--amber); }

/* ── TABLETTE 768–1023px ── */
@media (min-width: 768px) and (max-width: 1023px) {
  .deco-titre-deconnexion  { height: 110px; }
  .deco-titre-invitation   { height: 58px; }
  .deco-titre-proposition  { height: 56px; }
  .deco-titre-deroulement  { height: 57px; }
  .deco-titre-en-pratique  { height: 68px; }
  .deco-titre-reserver     { height: 54px; }
}

/* ── MOBILE < 768px ── */
@media (max-width: 767px) {
  .section { padding-block: 2.5rem; }
  .section-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .col-left { order: -1; }

  .deco-hero-photo { height: clamp(220px, 60vw, 320px); }
  .deco-titre-deconnexion  { height: 90px; }
  .deco-titre-invitation   { height: 50px; }
  .deco-titre-proposition  { height: 48px; }
  .deco-titre-deroulement  { height: 49px; }
  .deco-titre-en-pratique  { height: 58px; }
  .deco-titre-reserver     { height: 47px; }

  .deco-tarif { padding: 0.85rem 1rem; font-size: 0.9rem; }
  .contact-ancre { height: 80px; }
  .contact-cta-row { gap: 1.5rem; justify-content: center;}
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
  .footer-sep { display: none; }
}
