/* MAC PRESTA — ajouts posés sur le modèle Impact-NVA Essentiel */
html { overflow-x: clip; }
.hero:before { background: radial-gradient(60% 55% at 50% 30%, rgba(240,160,26,.14), transparent 70%), radial-gradient(40% 40% at 85% 90%, rgba(232,38,44,.08), transparent 70%), var(--bg); }
.hero-logo { width: min(440px, 86%); margin: 0 auto 26px; filter: drop-shadow(0 0 1px rgba(255,255,255,.5)) drop-shadow(0 18px 40px rgba(240,160,26,.16)); }
.hero-title span.r { color: #FF3B41; }
.logo-img { height: 52px; filter: drop-shadow(0 0 1px rgba(255,255,255,.5)); }
.card-icon svg { width: 28px; height: 28px; }
.g-ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--soft); font-size: .9rem; text-align: center; padding: 12px;
  background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255,201,90,.05) 14px 28px), linear-gradient(160deg, var(--panel-2), var(--panel)); }
.g-ph svg { width: 32px; height: 32px; color: var(--green-2); }
.g-ph strong { color: var(--text); }
.trio-price small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.trio-lignes { display: grid; gap: 8px; margin-bottom: 22px; flex-grow: 1; align-content: start; }
.trio-lignes li { display: flex; justify-content: space-between; align-items: baseline; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; color: var(--muted); font-size: .92rem; }
.trio-lignes b { font-size: 1.7rem; color: var(--text); }
.trio-lignes b small { font-size: .8rem; color: var(--muted); font-weight: 600; margin-left: 3px; }
.form-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.contact-form input[type=date], .contact-form input[type=time] { color-scheme: dark; }
.contact-form button:disabled { opacity: .45; }
.form-status.success { color: var(--green-2); }
.envoye { display: none; text-align: center; padding: 26px 8px; }
.envoye h3 { font-size: 1.4rem; margin: 10px 0 6px; }
.envoye svg { width: 52px; height: 52px; color: #3FCF7C; }
.signe-impact { color: var(--muted); }
.signe-impact:hover { color: var(--text); }
.nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 560px) { .form-duo { grid-template-columns: 1fr; } }

/* ============ 2026-10-11 : plus de gris. Palette = noir asphalte + blanc franc + jaune engin (actions) + rouge du logo (accents) ============ */
:root { --muted: #EFEDE8; --soft: #C2C0BB; --rouge: #FF3B41; }
p, .card-desc, .step-desc, .trio-for, .section-lead { color: var(--muted); }
.hero-subtitle { color: #F6F4EF; }
.hero-badge { color: #F6F4EF; border-color: rgba(255, 201, 90, .32); }
.hero-badge strong { color: var(--green-2); }
.eyebrow { display: inline-flex; align-items: center; gap: .7em; color: #F6F4EF; }
.eyebrow::before { content: ''; width: 26px; height: 3px; border-radius: 2px; background: var(--rouge); }
.eyebrow.center { display: flex !important; justify-content: center; }
.included li, .trio-list li, .trio-lignes li, .modif-box li, .contact-details ul, .footer-col li, .contact-form label { color: var(--muted); }
.footer-bottom { color: var(--soft); line-height: 1.9; }

/* barre du haut : liens blancs, trait rouge → jaune sous le lien survolé ou en cours */
header { background: rgba(13, 14, 15, .88); }
header::after { content: ''; position: absolute; inset: auto 0 -1px 0; height: 2px; background: linear-gradient(90deg, transparent, var(--rouge) 22%, var(--green) 60%, transparent); opacity: .75; }
.nav-links a { position: relative; color: #F6F4EF; font-weight: 600; padding: .5rem 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--rouge), var(--green-2)); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.nav-links a:hover::after, .nav-links a.actif::after { transform: scaleX(1); }
.nav-links a.actif { color: #fff; }

/* bouton du sommaire : la télécommande du finisseur, dessinée au trait fin doré (comme le cheval de Troie de Clash ; la photo découpée a été rejetée : « copié-collé, moche »). On appuie : le tapis d'enrobé se déroule, le sommaire est peint dessus. */
.nav-toggle { position: relative; width: 44px; height: 44px; padding: 0; }
.nav-toggle .ic-tele, .nav-toggle .ic-croix { position: absolute; inset: 0; margin: auto; transition: transform .5s cubic-bezier(.22, 1, .36, 1), opacity .3s ease, filter .3s ease; }
.nav-toggle .ic-tele { height: 34px; width: auto; color: var(--green-2); filter: drop-shadow(0 0 6px rgba(245, 164, 23, .25)); }
.nav-toggle .ic-croix { width: 24px; height: 24px; color: var(--green-2); opacity: 0; transform: rotate(-90deg) scale(.55); }
.nav-toggle:hover .ic-tele, .nav-toggle:focus-visible .ic-tele { transform: rotate(-7deg) scale(1.07); color: #FFE3A0; filter: drop-shadow(0 0 9px rgba(245, 164, 23, .75)); }
.nav-toggle:active .ic-tele { transform: scale(.92); }
.nav-toggle[aria-expanded="true"] .ic-tele { opacity: 0; transform: rotate(18deg) scale(.6); }
.nav-toggle[aria-expanded="true"] .ic-croix { opacity: 1; transform: none; }

/* à toutes les tailles d écran (demande de Loïc, 2026-10-11) : le bouton télécommande remplace les liens, même sur ordinateur */
.nav-toggle { display: block; background: none; border: 0; cursor: pointer; }
@media all {
  /* le tapis : vraie texture d'enrobé (tirée de sa photo de chantier), lignes de rive blanches sur les côtés */
  .nav-links {
    display: block; position: absolute; top: 100%; left: auto; right: 32px; width: min(400px, calc(100vw - 28px)); padding: 0 30px; gap: 0;
    max-height: 0; overflow: hidden; opacity: 1; transform: none; visibility: hidden; pointer-events: none;
    border: 0; border-radius: 0 0 16px 16px; counter-reset: lien;
    background:
      linear-gradient(90deg, transparent 11px, rgba(255, 255, 255, .9) 11px 14px, transparent 14px calc(100% - 14px), rgba(255, 255, 255, .9) calc(100% - 14px) calc(100% - 11px), transparent calc(100% - 11px)),
      linear-gradient(180deg, rgba(8, 8, 9, .25), rgba(8, 8, 9, .5)),
      url(../images/enrobe-hd.jpg) top center / 100% auto #141517;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .65);
    transition: max-height .95s cubic-bezier(.3, .9, .3, 1), visibility 0s .95s;
  }
  .nav-links.open { max-height: 460px; visibility: visible; pointer-events: auto; transition: max-height .95s cubic-bezier(.3, .9, .3, 1), visibility 0s; }
  /* le rouleau qui déroule le tapis : il suit le bord du bas, puis s'efface */
  .nav-links::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 20px; border-radius: 10px; opacity: 0; pointer-events: none;
    background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .22) 0 2px, transparent 2px 16px), linear-gradient(180deg, #f4f4f4, #a9adb2 38%, #5a5e63 72%, #2b2d30);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .6);
  }
  .nav-links.open::after { animation: rouleau 1.05s linear forwards; }
  @keyframes rouleau { 0% { opacity: 1; background-position: 0 0, 0 0; } 80% { opacity: 1; } 100% { opacity: 0; background-position: 160px 0, 0 0; } }
  .nav-links::before { content: 'Sommaire'; display: block; padding: 20px 0 6px; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--green-2); }
  /* les titres : peints en blanc comme un marquage au sol, séparés par une ligne discontinue */
  .nav-links a {
    counter-increment: lien; position: relative; display: flex; align-items: baseline; gap: 14px; padding: 15px 0 17px;
    font-size: 1.22rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
    opacity: 0; transform: translateY(-8px); transition: opacity .35s ease, transform .35s ease, color .2s ease;
  }
  .nav-links.open a { opacity: 1; transform: none; }
  .nav-links.open a:nth-child(1) { transition-delay: .15s; } .nav-links.open a:nth-child(2) { transition-delay: .27s; }
  .nav-links.open a:nth-child(3) { transition-delay: .39s; } .nav-links.open a:nth-child(4) { transition-delay: .51s; }
  .nav-links.open a:nth-child(5) { transition-delay: .63s; }
  .nav-links a::before { content: counter(lien, decimal-leading-zero); font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--green-2); }
  /* sous chaque titre : le trait rouge → orangé (validé par Loïc), qui se trace de gauche à droite à l ouverture */
  .nav-links a::after { display: block; top: auto; bottom: 0; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--rouge), var(--green) 55%, var(--green-2)); transform: scaleX(0); transform-origin: left center; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
  .nav-links.open a::after { transform: scaleX(1); transition-delay: inherit; }
  .nav-links a:last-child { padding-bottom: 30px; }
  .nav-links a:last-child::after { display: block; bottom: 14px; }
  .nav-links a.actif, .nav-links a:hover { color: var(--green-2); }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce) { .nav-links, .nav-links a { transition: none; } .nav-links.open::after { animation: none; } }

/* signature Impact-NVA : la pastille aux couleurs du site */
.signe-impact { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; color: #F6F4EF; font-weight: 600; }
.signe-impact img { width: 34px; height: 34px; border-radius: 9px; transition: transform .3s ease, box-shadow .3s ease; }
.signe-impact:hover img { transform: translateY(-2px); box-shadow: 0 0 18px rgba(245, 164, 23, .45); }
.signe-impact:hover { color: var(--green-2); }

@media (max-width: 768px) { .nav-links { right: 14px; left: 14px; width: auto; } }
@media (min-width: 769px) { .nav-toggle { width: 52px; height: 52px; } .nav-toggle .ic-tele { height: 42px; } .nav-toggle .ic-croix { width: 28px; height: 28px; } }

/* carte contact : plus de grand vide noir à côté du formulaire. Le téléphone en grand, puis sa photo du pupitre qui remplit la hauteur. */
.contact-details { display: flex; flex-direction: column; }
.contact-details h3 { margin-bottom: 6px; }
.cd-tel { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; color: var(--green-2); line-height: 1.2; }
.cd-tel:hover { color: #FFE3A0; }
.cd-mail { color: #F6F4EF; font-size: .95rem; margin-top: 4px; word-break: break-word; }
.cd-mail:hover { color: var(--green-2); }
.cd-points { display: flex !important; flex-wrap: wrap; gap: 8px !important; margin: 18px 0; }
.cd-points li { border: 1px solid rgba(255, 201, 90, .32); border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 600; color: #F6F4EF; }
.cd-photo { position: relative; flex: 1 1 260px; min-height: 260px; margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.cd-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.cd-photo figcaption { position: absolute; inset: auto 0 0 0; padding: 34px 16px 12px; background: linear-gradient(180deg, transparent, rgba(8, 8, 9, .85)); color: #fff; font-weight: 600; font-size: .9rem; }
@media (max-width: 980px) { .cd-photo { flex-basis: 300px; min-height: 300px; } }

/* Listes déroulantes sur mesure (2026-10-12) : plus de bleu du navigateur, la liste reprend les couleurs du site */
.choix { position: relative; }
.choix select { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; padding: 0; border: 0; }
.contact-form .choix-btn {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; margin: 0; text-align: left;
  background: #101113; border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; color: var(--text); font: inherit; font-weight: 400; cursor: pointer;
}
.choix-btn::after { content: ''; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--green-2); border-bottom: 2px solid var(--green-2); transform: rotate(45deg) translateY(-3px); transition: transform .25s ease; }
.choix.ouvert .choix-btn, .contact-form .choix-btn:focus-visible { outline: none; border-color: rgba(255, 201, 90, .55); }
.choix.ouvert .choix-btn::after { transform: rotate(-135deg) translateY(-1px); }
.choix ul {
  list-style: none; margin: 6px 0 0; padding: 6px; position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
  background: #17181B; border: 1px solid rgba(255, 201, 90, .4); border-radius: 14px; box-shadow: 0 22px 44px -14px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
}
.choix.ouvert ul { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
.choix li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; color: var(--text); cursor: pointer; }
.choix li:hover, .choix li.focus { background: linear-gradient(90deg, rgba(245, 164, 23, .26), rgba(245, 164, 23, .07)); }
.choix li[aria-selected="true"] { color: var(--green-2); font-weight: 600; }
.choix li[aria-selected="true"]::after { content: '✓'; }
/* le message « Demande envoyée » se centre dans la carte au lieu de laisser un grand vide dessous */
.contact-form { display: flex; flex-direction: column; justify-content: center; }
.contact-form label small { font-size: inherit; opacity: .75; font-weight: 400; }
