/* VerifAmende V2: homepage-only visual layer. Brand tokens, application flows and routes remain unchanged. */
body:has(.home-offers) .hero{align-items:stretch;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)}
body:has(.home-offers) .hero-copy{display:flex;flex-direction:column;justify-content:center;min-width:0}
body:has(.home-offers) .hero h1{font-size:clamp(2.5rem,4.2vw,4rem);line-height:1.08;letter-spacing:-.048em;max-width:800px;text-wrap:balance}
body:has(.home-offers) .hero h1 span{display:inline;color:var(--green2)}
body:has(.home-offers) .hero .lead{font-size:clamp(1rem,1.3vw,1.18rem);max-width:640px}
body:has(.home-offers) .hero-actions{margin:14px 0 8px;gap:12px}
body:has(.home-offers) .hero-visual{min-width:0}
body:has(.home-offers) .benefits{margin-top:18px}
body:has(.home-offers) .benefits div{background:#f7fafc}
body:has(.home-offers) .scribble{font-size:clamp(1.15rem,2vw,1.8rem)}
body:has(.home-offers) .hero .vigi-panel p{line-height:1.5;color:var(--muted)}
body:has(.home-offers) .section-heading{margin-bottom:24px}
body:has(.home-offers) .section-heading h2{font-size:clamp(1.9rem,3vw,2.65rem);line-height:1.15}
body:has(.home-offers) .section-heading p{max-width:680px}
body:has(.home-offers) .vigi-grid .path{display:flex;flex-direction:column;align-items:start;gap:10px}
body:has(.home-offers) .vigi-grid .path h3{margin:0;color:var(--navy);font-size:1.4rem}
body:has(.home-offers) .vigi-grid .path p{margin:0 0 6px}
body:has(.home-offers) .vigi-grid .path .btn{margin-top:auto}
.home-offers .offers-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.home-offers .offer-card{padding:26px;display:flex;flex-direction:column;gap:16px;min-width:0}
.home-offers .offer-heading{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.home-offers .offer-tag{color:var(--green2);background:#effaf4;border:1px solid #cdebdc;border-radius:999px;font-size:.76rem;font-weight:800;padding:7px 10px}
.home-offers .offer-heading h3{font-size:1.35rem;line-height:1.2;color:var(--navy);margin:0}
.home-offers .offer-heading strong{color:var(--navy);font-size:2rem;letter-spacing:-.035em}
.home-offers .offer-card>p{color:var(--muted);line-height:1.55;margin:0}
.home-offers .offer-card ul{list-style:none;margin:0;padding:0;display:grid;gap:12px;color:var(--ink);font-size:.93rem}
.home-offers .offer-card li{position:relative;padding-left:24px;line-height:1.45}
.home-offers .offer-card li:before{content:"✓";position:absolute;left:0;color:var(--green2);font-weight:900}
.home-offers .offer-card .btn{margin-top:auto}
.fleet-highlight{background:linear-gradient(120deg,#edf8f4,#f5f9ff)}
.fleet-highlight .muted-line{font-size:.83rem}
@media(max-width:1050px){body:has(.home-offers) .hero,.home-offers .offers-grid{grid-template-columns:1fr}.home-offers .offers-grid{gap:12px}}
@media(max-width:700px){body:has(.home-offers) .hero h1{font-size:clamp(2.15rem,8.3vw,3.2rem)}body:has(.home-offers) .hero-copy{padding:24px 19px}body:has(.home-offers) .hero-visual{padding:20px}body:has(.home-offers) .hero .lead{font-size:1rem}body:has(.home-offers) .benefits{grid-template-columns:1fr}body:has(.home-offers) .vigi-grid .path{padding:22px}.home-offers .offer-card{padding:22px}.home-offers .offer-card .btn{width:100%}}

/* Portrait supplied for the homepage hero. */
body:has(.home-offers) .hero-vigi>.hero-portrait{display:block;width:100%;height:auto;aspect-ratio:3/2;max-height:none;object-fit:cover;object-position:50% 35%;border-radius:14px;margin:14px 0 8px}

/* Team section image supplied by the user. */
#equipe.team-section{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;align-items:center}#equipe .team-photo{min-width:0;text-align:left}#equipe .team-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:14px}#equipe .btn{margin-top:8px}@media(max-width:700px){#equipe.team-section{grid-template-columns:1fr;gap:24px}}


/* Accompagnement humain mis en avant, sans changer la grille mobile existante. */
.home-offers .offer-featured{border:2px solid var(--green2);background:#f5fbf8}
.home-offers .offer-featured .offer-tag{background:#087e55;color:#fff;border-color:#087e55}
#equipe .muted-line{font-size:.85rem;line-height:1.55;overflow-wrap:anywhere}


.contact-form{padding:24px;display:grid;gap:18px;max-width:820px;margin:auto}.contact-fields{display:grid;gap:18px;grid-template-columns:repeat(2,minmax(0,1fr))}.contact-form label{display:grid;gap:8px;font-weight:600;min-width:0}.contact-form input,.contact-form select,.contact-form textarea{width:100%;box-sizing:border-box;font:inherit;padding:12px;border:1px solid #b9cce2;border-radius:10px;min-height:48px}.contact-form textarea{resize:vertical}.contact-form .contact-consent{display:flex;align-items:flex-start;font-weight:400;line-height:1.5}.contact-consent input{width:22px;min-height:22px;flex-shrink:0;margin-top:2px}.contact-form p{margin:0;line-height:1.6}.contact-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}#contactFeedback{padding:16px;background:#edf8f4;border-radius:12px;overflow-wrap:anywhere}#contact .muted-line{font-size:.85rem}.contact-form a{text-decoration:underline}@media(max-width:700px){.contact-fields{grid-template-columns:1fr}.contact-form{padding:20px}.contact-form .btn{width:100%}}

.example-link{color:var(--green2);text-decoration:underline;font-weight:600;align-self:flex-start;padding:8px 0}.vigi-example{padding:28px;display:grid;gap:18px}.vigi-example h3,.vigi-example h4,.vigi-example p{margin:0}.example-label{color:var(--green2);font-size:.85rem;font-weight:700}.example-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.example-grid section{background:#f5f8fb;padding:20px;border-radius:12px;min-width:0}.example-grid h4{color:var(--navy);margin-bottom:8px}.example-grid p{line-height:1.6}.example-grid .example-human{background:#edf8f4}.vigi-example>.btn{justify-self:start}.response-promise{max-width:820px;margin:0 auto 22px;line-height:1.6}.response-promise strong{color:var(--green2)}.response-promise span{font-size:.85rem;color:var(--muted)}@media(max-width:700px){.example-grid{grid-template-columns:1fr}.vigi-example{padding:20px}.vigi-example>.btn{width:100%}}


.human-offers{grid-template-columns:repeat(2,minmax(0,1fr))!important}.human-coordinates{border:0;padding:0;margin:12px 0}.human-coordinates legend{font-weight:700;padding-bottom:16px}.intake-page .contact-consent{display:flex;gap:12px;align-items:flex-start}.intake-page .contact-consent input{width:22px;flex:0 0 22px;margin-top:3px}.human-coordinates textarea{width:100%}#intakeMsg{overflow-wrap:anywhere}.human-success{padding:24px;line-height:1.6}@media(max-width:700px){.human-offers{grid-template-columns:1fr!important}}

#equipe.team-section{grid-template-columns:1fr;max-width:1000px;margin-inline:auto}

.intake-step{border:0;padding:0;margin:0;min-width:0}.intake-step[hidden]{display:none}.intake-step>legend:not(.sr-only){font-size:1.55rem;font-weight:750;color:var(--navy);margin-bottom:16px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#toContact{margin-top:20px;width:100%;min-height:56px}.intake-step .hero-actions{display:flex;flex-wrap:wrap;gap:12px}.human-success li{margin:12px 0}.intake-step button:disabled{opacity:.55;cursor:not-allowed}.deposit-steps li[aria-current=step]{font-weight:800;color:var(--green2)}@media(max-width:700px){#takePhoto{min-height:64px;font-size:1.1rem}.intake-page .hero-actions .btn{width:100%}}

/* Homepage hero: one submission action, a distinct explanation link, and the full team image. */
body:has(.home-offers) .hero-visual{display:flex;flex-direction:column;justify-content:center;gap:18px}
.hero-team-photo{margin:0;min-width:0}
.hero-team-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;border-radius:14px}
.hero-team-photo figcaption{margin-top:7px;font-size:.75rem;line-height:1.4;color:#526b7d;text-align:right}
.hero-team-message h2{margin:0 0 8px;color:var(--navy);font-size:clamp(1.2rem,1.7vw,1.6rem);line-height:1.25;letter-spacing:-.025em}
.hero-team-message p{margin:0;color:var(--muted);line-height:1.6}
.hero-copy .hero-actions{align-items:center}
.hero-copy .hero-actions .primary{min-height:52px;white-space:normal;text-align:center;padding:12px 20px}
.hero-how-link{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:10px 0;font-weight:650;color:var(--navy);text-decoration:underline;text-underline-offset:4px}
.hero-how-link:hover{color:var(--green2)}
.hero-how-link:focus-visible{outline:3px solid var(--green2);outline-offset:5px;border-radius:3px}
@media(max-width:700px){.hero-copy .hero-actions .primary{font-size:.95rem}.hero-how-link{justify-content:center}.hero-team-message h2{font-size:1.3rem}}


/* Direct access to submission and contact on small screens. */
.mobile-contact-bar{display:none}@media(max-width:700px){body:has(.mobile-contact-bar){padding-bottom:90px}.mobile-contact-bar{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:40;gap:10px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -2px 16px #10283c18}.mobile-contact-bar .btn{flex:1;min-height:48px;font-size:.9rem;padding:10px;text-align:center}}

body:has(.home-offers) .site-header{gap:24px;flex-wrap:wrap}body:has(.home-offers) .site-header .brand{flex-shrink:0}body:has(.home-offers) .site-header nav{gap:18px}body:has(.home-offers) .site-header nav a{white-space:nowrap}

/* Action-first homepage and accessible native disclosure menu. */
body:has(.home-menu) .site-header{position:relative;flex-wrap:nowrap;justify-content:space-between}
.header-conversion{display:flex;align-items:center;gap:18px}
.home-menu{position:relative}
.home-menu summary{display:flex;align-items:center;gap:9px;cursor:pointer;list-style:none;min-height:48px;padding:10px 14px;border:1px solid #cfdae3;border-radius:12px;color:var(--navy);font-weight:700}
.home-menu summary::-webkit-details-marker{display:none}
.home-menu summary:focus-visible{outline:3px solid var(--green2);outline-offset:3px}
body:has(.home-menu) .site-header .home-menu nav{position:absolute;right:0;top:calc(100% + 12px);z-index:60;display:flex;flex-direction:column;align-items:stretch;gap:0;width:280px;max-width:calc(100vw - 36px);padding:10px;background:white;border:1px solid #d9e4eb;border-radius:16px;box-shadow:0 14px 36px #071d3526}
body:has(.home-menu) .site-header .home-menu:not([open]) nav{display:none}
body:has(.home-menu) .site-header .home-menu nav a{padding:13px 15px;white-space:normal;border-radius:9px}
.home-menu nav a:hover,.home-menu nav a:focus-visible{background:#edf8f4;color:var(--green2)}
.hero-price{line-height:1.65}.hero-price strong{color:var(--navy)}.hero-price a{text-decoration:underline}
.offer-scope{max-width:900px;line-height:1.65;font-size:.9rem;color:var(--muted);margin:22px auto 0}
body:has(.home-menu) .mobile-nav{display:none!important}
@media(max-width:700px){
 body:has(.home-menu) .site-header{padding:12px 0;gap:10px;align-items:center}
 .header-submit{display:none!important}.header-conversion{gap:0}.home-menu summary{padding:8px 10px}.home-menu summary span:last-child{display:none}
 body:has(.home-menu) .site-header .brand img{width:40px;height:40px}
 body:has(.home-menu) .site-header .brand strong{font-size:1.25rem}
 body:has(.home-menu) .site-header .brand small{font-size:.7rem}
 body:has(.home-menu) .hero-actions{flex-direction:column;align-items:stretch}
 body:has(.home-menu) .hero-copy{padding:22px 16px}
 body:has(.home-menu) .hero-visual{padding:14px}
 body:has(.home-menu) .mobile-contact-bar{z-index:40}
 body.mobile-editing:has(.home-menu) .mobile-contact-bar{display:none}
}

/* Homepage footer: stable columns, readable copy and a separate legal row. */
.site-footer.home-footer{display:block;margin-top:56px;padding:40px 0 20px;color:var(--navy);text-align:left}
.home-footer .footer-top{display:grid;grid-template-columns:minmax(240px,1.3fr) repeat(2,minmax(160px,1fr)) minmax(220px,1fr);gap:32px;align-items:start}
.home-footer .footer-about,.home-footer .footer-column{min-width:0}
.home-footer .footer-about .brand{align-items:center}
.home-footer .footer-about p{max-width:320px;margin:20px 0 0;font-size:.88rem;line-height:1.7;color:#526b7d}
.home-footer .footer-column h2{margin:0 0 16px;font-size:.95rem;line-height:1.4;font-weight:800;color:var(--navy);letter-spacing:0}
.home-footer .footer-column ul{display:grid;gap:3px;list-style:none;padding:0;margin:0}
.home-footer .footer-column li{margin:0}
.home-footer .footer-column a{display:inline-block;padding:8px 0;font-size:.88rem;line-height:1.5;color:#36516a;overflow-wrap:anywhere}
.home-footer .footer-column a:hover,.home-footer .footer-bottom a:hover{color:#087e55;text-decoration:underline;text-underline-offset:4px}
.home-footer a:focus-visible{outline:3px solid #087e55;outline-offset:4px;border-radius:3px}
.home-footer .footer-column .footer-email{padding-top:8px;color:#087e55;font-weight:700}
.home-footer .footer-column p{font-size:.88rem;line-height:1.7;margin:8px 0 0;max-width:260px;color:#526b7d}
.home-footer .footer-column p a{display:inline;padding:0;text-decoration:underline}
.home-footer .footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:32px;padding-top:20px;border-top:1px solid var(--line);font-size:.8rem;color:#526b7d}
.home-footer .footer-bottom nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 24px;width:auto;order:initial;font-size:inherit;font-weight:500}
.home-footer .footer-bottom nav a{display:inline-block;padding:8px 0;line-height:1.5}
@media(max-width:1050px){.home-footer .footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 40px}.home-footer .footer-about p{max-width:360px}}
@media(max-width:600px){.site-footer.home-footer{margin-top:32px;padding-top:28px}.home-footer .footer-top{grid-template-columns:minmax(0,1fr);gap:24px}.home-footer .footer-column{border-top:1px solid var(--line);padding-top:22px}.home-footer .footer-column h2{margin-bottom:8px}.home-footer .footer-column a{min-height:44px;padding:11px 0}.home-footer .footer-column p a{min-height:0;padding:0}.home-footer .footer-about p{max-width:100%}.home-footer .footer-bottom{align-items:flex-start;flex-direction:column;gap:10px;margin-top:24px}.home-footer .footer-bottom nav{justify-content:flex-start;gap:4px 20px}.home-footer .footer-bottom nav a{min-height:44px;padding:12px 0}}
