/* ═══════════════════════════════════════════════════════════
   Nomade & Events — page d'accueil (index.html)
   ═══════════════════════════════════════════════════════════ */

/* ── NAV (transparente au-dessus du hero) ── */
nav {
  z-index: 100;
  background: linear-gradient(to bottom, rgba(9,17,26,0.97) 0%, transparent 100%);
  backdrop-filter: blur(6px);
  border-bottom: none;
}

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 7rem 3.5rem 7rem; /* haut : place pour le menu fixe sur les écrans peu hauts */ position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 75% 35%, rgba(14,76,150,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 80% 80% at 20% 80%, rgba(9,17,26,0.9) 0%, transparent 60%),
    linear-gradient(135deg, #09111a 0%, #0d1e2e 50%, #132435 100%);
}
.hero-waves { position: absolute; bottom: 0; left: 0; right: 0; height: 300px; overflow: hidden; opacity: .15; }
.hero-waves svg { width: 200%; animation: wave-scroll 20s linear infinite; }
.hero-deco { position: absolute; top: 12vh; right: 5rem; width: 1px; height: 30vh; background: linear-gradient(to bottom, transparent, rgba(14,76,150,.5), transparent); animation: fade-in 2s ease 1s both; }
.hero-deco::after { content: ''; position: absolute; bottom: -40px; left: -30px; width: 60px; height: 1px; background: linear-gradient(to right, transparent, rgba(14,76,150,.5), transparent); }
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-eyebrow { font-family: var(--sans); font-size: .75rem; letter-spacing: .35em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; animation: fade-up .9s ease .3s both; }
.hero-title { font-family: var(--serif); font-size: clamp(3.2rem, 7vw, 6.5rem); font-weight: 300; line-height: 1.05; color: var(--white); margin-bottom: 1rem; animation: fade-up .9s ease .5s both; }
.hero-title em { font-style: italic; color: var(--blue-pale); }
.hero-subtitle { font-family: var(--serif); font-size: 1.2rem; font-weight: 300; font-style: italic; color: var(--fog); margin-bottom: .8rem; animation: fade-up .9s ease .65s both; }
.hero-promise { display: flex; gap: .8rem 2rem; flex-wrap: wrap; margin-bottom: 2.8rem; animation: fade-up .9s ease .75s both; }
.hero-promise-item { display: flex; align-items: center; gap: .5rem; font-family: var(--sans); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--mist); }
.hero-promise-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.hero-cta { display: flex; gap: 1.5rem; flex-wrap: wrap; animation: fade-up .9s ease .9s both; }

@keyframes wave-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ── SECTIONS ── */
section { padding: 7rem 3.5rem; }
.section-text { font-family: var(--serif); font-size: 1.15rem; line-height: 1.8; color: var(--fog); max-width: 560px; }
.section-text + .section-text { margin-top: 1rem; }
.divider { width: 60px; height: 1px; background: var(--blue); opacity: .5; margin: 2rem 0; }

/* Icône foodtruck (SVG) utilisée dans les pastilles et les cartes services */
.icon-truck { display: block; width: 56px; height: 36px; }
.presta-emoji:has(.icon-truck), .service-icon:has(.icon-truck) { font-size: 1rem; }

/* ── PRESTATIONS PILLS ── */
.prestations { background: var(--deep); padding: 4rem 3.5rem; display: flex; justify-content: center; gap: 1px; flex-wrap: wrap; }
.presta-pill { padding: 1.4rem 2.2rem; background: var(--panel); display: flex; flex-direction: column; align-items: center; gap: .6rem; flex: 1; min-width: 170px; max-width: 220px; transition: background .3s; cursor: default; }
.presta-pill:hover { background: var(--mid); }
.presta-emoji { font-size: 1.8rem; }
.presta-name { font-family: var(--sans); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); text-align: center; }
.presta-cap { font-family: var(--serif); font-size: 1rem; font-style: italic; color: var(--fog); text-align: center; }

/* ── ABOUT ── */
.about { background: var(--deep); display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-visual { position: relative; height: 420px; }
.about-plate { position: absolute; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.about-logo { width: 340px; max-width: 100%; border-radius: 12px; box-shadow: 0 8px 40px rgba(14,76,150,.3); }
.about .btn-gold { margin-top: 2.5rem; }

/* ── SERVICES ── */
.services { background: var(--ink); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 4rem; }
.service-card { background: var(--panel); padding: 3rem; position: relative; overflow: hidden; transition: background .4s; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--blue); transition: height .4s; }
.service-card:hover { background: var(--mid); }
.service-card:hover::before { height: 100%; }
.service-card--engagement, .service-card--engagement:hover { background: linear-gradient(135deg, var(--panel) 0%, rgba(14,76,150,.12) 100%); }
/* L'engagement n'est pas une prestation : bandeau pleine largeur sous les 3 cartes, texte à gauche, points à droite */
.service-card--engagement { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: 4rem; align-content: start; }
.service-card--engagement > * { grid-column: 1; }
.service-card--engagement .service-list { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin-top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 2rem; }
.service-icon { font-size: 2rem; margin-bottom: 1.5rem; display: block; }
.service-name { font-family: var(--sans); font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.service-title { font-family: var(--serif); font-size: 1.6rem; font-weight: 300; color: var(--white); margin-bottom: 1rem; }
.service-desc { font-family: var(--serif); font-size: 1.1rem; line-height: 1.75; color: var(--fog); }
.service-list { margin-top: 1.5rem; list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.service-list li { font-family: var(--sans); font-size: .75rem; line-height: 1.5; letter-spacing: .1em; color: var(--mist); padding-left: 1.2rem; position: relative; }
.service-list li::before { content: '—'; position: absolute; left: 0; color: var(--blue-text); }

/* ── EVENTS ── */
.events { background: var(--ink); }
.events .section-text { margin-bottom: 2rem; }
.events-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; margin-top: 4rem; }
.event-types { display: flex; flex-direction: column; gap: .5rem; }
.event-tag { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.5rem; border: 1px solid rgba(14,76,150,.2); transition: border-color .3s, background .3s; cursor: default; }
.event-tag:hover { border-color: rgba(14,76,150,.6); background: rgba(14,76,150,.07); }
.event-tag-label { font-family: var(--sans); font-size: .75rem; line-height: 1.5; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); }
.event-tag-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-light); flex-shrink: 0; }
.event-promise { margin-top: 3rem; padding: 2rem; background: var(--panel); border-top: 2px solid rgba(14,76,150,.4); }
.event-promise .section-label { margin-bottom: .8rem; }
.event-promise p:not(.section-label) { font-family: var(--serif); font-size: 1.1rem; line-height: 1.75; color: var(--fog); }
.event-promise p:not(.section-label) + p { margin-top: 1rem; }
.event-promise a { color: var(--blue-pale); text-decoration: none; border-bottom: 1px solid rgba(212,228,247,.3); }

/* ── CONTACT ── */
.contact { background: var(--deep); display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-info { padding-top: 1rem; }
.info-block { margin-bottom: 2.5rem; }
.info-label { font-family: var(--sans); font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.info-value { font-family: var(--serif); font-size: 1.15rem; color: var(--white); line-height: 1.6; }
.info-value small { font-size: 1rem; color: var(--fog); }
.info-value a { color: var(--white); text-decoration: none; transition: color .3s; }
.info-value a:hover { color: var(--blue-text); }
.info-badge { display: inline-flex; align-items: center; gap: .5rem; max-width: 100%; margin-top: .5rem; padding: .5rem 1rem; line-height: 1.5; background: rgba(14,76,150,.15); border: 1px solid rgba(14,76,150,.3); font-family: var(--sans); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--blue-pale); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .5rem; }
.btn-appel { display: none; padding: .85rem 1.6rem; border: 1px solid var(--gold); color: var(--gold); font-family: var(--sans); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; }

/* Formulaire */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-label { font-family: var(--sans); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.form-input, .form-select, .form-textarea { background: var(--panel); border: 1px solid var(--line); color: var(--white); font-family: var(--serif); font-size: 1.1rem; padding: .9rem 1.2rem; transition: border-color .3s; width: 100%; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--fog); opacity: 1; font-style: italic; }
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-submit { margin-top: .5rem; padding: 1rem 2.5rem; border: 1px solid var(--blue); background: var(--blue); color: var(--white); font-family: var(--sans); font-size: .75rem; font-weight: 400; letter-spacing: .25em; text-transform: uppercase; cursor: pointer; transition: background .3s; align-self: flex-start; }
.form-submit:hover { background: var(--blue-light); border-color: var(--blue-light); }

/* ── AVIS CLIENTS ── */
.avis { background: var(--deep); }
.avis-grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin-top: 3.5rem; }
.avis-carte { margin: 0; padding: 2.4rem 2.6rem; background: var(--panel); display: flex; flex-direction: column; gap: 1.2rem; }
.avis-carte--large { grid-column: 1 / -1; }
.avis-note-etoiles { font-size: 1rem; letter-spacing: .25em; color: var(--gold); }
.avis-carte blockquote { flex: 1; font-family: var(--serif); font-size: 1.25rem; font-style: italic; line-height: 1.6; color: var(--white); }
.avis-carte figcaption { display: flex; flex-direction: column; gap: .3rem; padding-top: 1rem; border-top: 1px solid rgba(201,169,110,.2); }
.avis-nom { font-family: var(--sans); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.avis-meta { font-family: var(--serif); font-size: 1rem; color: var(--fog); }
.avis-source { margin-top: 1.8rem; font-family: var(--serif); font-size: 1.05rem; color: var(--fog); }
.avis-source a { color: var(--gold-light); text-underline-offset: 3px; }

/* ── FAQ (questions dépliables <details>) ── */
.faq { background: var(--ink); }
.faq-liste { max-width: 860px; margin-top: 3rem; border-top: 1px solid rgba(201,169,110,.2); }
.faq-item { border-bottom: 1px solid rgba(201,169,110,.2); }
.faq-item summary { position: relative; padding: 1.4rem 3rem 1.4rem 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; color: var(--white); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.6rem; font-weight: 300; color: var(--gold); transition: transform .3s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--gold-light); }
.faq-item p { padding: 0 3rem 1.6rem 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.75; color: var(--mist); }
.faq-item a { color: var(--gold-light); text-underline-offset: 3px; }

/* ── BARRE D'ACTION FIXE (mobile uniquement) ── */
.cta-mobile { display: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  section, .prestations { padding: 5rem 1.5rem; }
  .hero { padding: 6rem 1.5rem 5rem; }
  .about { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { height: 280px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card--engagement { display: block; }
  .service-card--engagement .service-list { display: flex; margin-top: 1.5rem; }
  .events-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .btn-appel { display: inline-block; }
  .avis-grille { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .avis-carte { padding: 1.8rem 1.6rem; }
  .avis-carte blockquote { font-size: 1.15rem; }
  .faq-item summary { font-size: 1.15rem; padding-right: 2.4rem; }
  .faq-item p { padding-right: 0; font-size: 1.1rem; }

  .cta-mobile {
    display: flex; gap: .6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(9,17,26,.96); backdrop-filter: blur(8px);
    border-top: 1px solid rgba(201,169,110,.25);
    transform: translateY(110%); transition: transform .3s ease;
  }
  .cta-mobile.is-visible { transform: none; }
  .cta-mobile a { flex: 1; text-align: center; padding: .85rem .5rem; letter-spacing: .15em; }
  .cta-mobile .btn-primary { flex: 1.6; }   /* « Appeler » : utile surtout sur téléphone */
}
