/* GLS Lassurances — cabinet de courtage. Mise en page : bandeaux pleine largeur, contenu centré 1160px. */
:root {
  --ink: #13233f;        /* bleu nuit : titres, en-tête */
  --ink-2: #2b3d5c;
  --text: #33415a;
  --muted: #66738a;
  --coral: #e04a3f;      /* couleur de marque L'assurances */
  --coral-2: #c23a30;
  --sky: #eef2f8;        /* fonds de sections */
  --line: #dfe5ee;
  --white: #ffffff;
  --ok: #1d8a5b;
  --display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --r: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font: 17px/1.65 var(--body); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--coral-2); }
img { max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 780px; }
.eyebrow { display: inline-block; font: 600 .78rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--coral-2); margin-bottom: 14px; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

/* Bandeau infos */
.topline { background: var(--ink); color: #c9d3e3; font-size: .88rem; }
.topline .wrap { display: flex; gap: 20px; justify-content: flex-end; flex-wrap: wrap; padding-block: 7px; }
.topline a { color: #fff; text-decoration: none; }

/* En-tête */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 700 1.75rem/1 var(--display); color: var(--coral); letter-spacing: -.02em; }
.brand-sub { font: 600 .68rem/1 var(--display); color: var(--ink-2); letter-spacing: .16em; text-transform: uppercase; margin-top: 5px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--coral); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: 600 .95rem var(--body); color: var(--ink); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem/1 var(--display); text-decoration: none; padding: 15px 24px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-sm { padding: 11px 18px; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--sky), #fff); padding-block: 72px 64px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--coral); }
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 600px; }
.proofs { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; font-weight: 600; color: var(--ink-2); font-size: .95rem; }
.proofs span::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 8px; }
.paths { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: 0 30px 60px -36px rgba(19,35,63,.4); }
.paths h2 { font-size: 1.25rem; margin-bottom: 14px; }
.path { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); margin-top: 10px; transition: border-color .15s, background .15s; }
.path:hover { border-color: var(--coral); background: #fff7f6; }
.path b { display: block; font-family: var(--display); font-size: 1.05rem; }
.path small { color: var(--muted); font-size: .9rem; }
.path .arrow { margin-left: auto; color: var(--coral); font-weight: 800; }
.ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--sky); color: var(--ink); }
.ico svg { width: 24px; height: 24px; }

/* Sections */
.section { padding-block: 80px; }
.section.alt { background: var(--sky); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* Cartes produit */
.product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.product .ico { margin-bottom: 16px; }
.product p { color: var(--muted); font-size: .97rem; flex: 1; }
.product .tag { font: 600 .72rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.product .link { font-weight: 700; color: var(--coral-2); text-decoration: none; font-family: var(--display); }
.product .link:hover { text-decoration: underline; }

/* Atouts */
.feature { padding: 4px 0; }
.feature .num { font: 700 2.4rem/1 var(--display); color: var(--coral); }
.feature h3 { margin-top: 10px; }
.feature p { color: var(--muted); }

/* Étapes */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 1rem var(--display); margin-bottom: 14px; }

/* Marques */
.brands .brandcard { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; color: var(--text); transition: border-color .15s; }
.brandcard:hover { border-color: var(--ink); }
.brandcard b { display: block; font: 700 1.1rem var(--display); color: var(--ink); margin-bottom: 4px; }
.brandcard span { color: var(--muted); font-size: .95rem; }
.brandcard em { display: block; font-style: normal; color: var(--coral-2); font-weight: 600; margin-top: 10px; font-size: .92rem; }

/* Bandeau confiance */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.trust div { background: #fff; padding: 22px; }
.trust b { display: block; font: 700 1.05rem var(--display); color: var(--ink); }
.trust span { color: var(--muted); font-size: .92rem; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font: 600 1.05rem var(--display); color: var(--ink); }
summary::after { content: "+"; color: var(--coral); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); }

/* Contact */
.cta-band { background: var(--ink); color: #c9d3e3; border-radius: 22px; padding: 46px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band .actions { justify-content: flex-end; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list b { display: block; color: var(--ink); font-family: var(--display); }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 14px; }
input, select, textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--text); background: #fff; }
textarea { min-height: 130px; resize: vertical; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.notice { background: #fff7f6; border: 1px solid #f5cdc9; color: var(--coral-2); border-radius: 10px; padding: 12px 14px; font-size: .92rem; }
.ok-msg { background: #eaf6ef; border: 1px solid #bfe3cf; color: var(--ok); border-radius: 10px; padding: 14px; font-weight: 600; }

/* Pages intérieures */
.page-hero { background: var(--sky); padding-block: 56px 48px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }

/* Pied de page */
.site-footer { background: #0e1a30; color: #aab6c9; margin-top: 80px; padding-block: 56px 28px; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font: 600 .82rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.site-footer a { color: #d6deea; text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .brand-name { font-size: 1.5rem; }
.site-footer .legal-line { border-top: 1px solid #22314d; margin-top: 36px; padding-top: 18px; font-size: .85rem; color: #8a97ad; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .grid-2, .cta-band { grid-template-columns: 1fr; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .grid-4, .trust { grid-template-columns: 1fr 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .cta-band .actions { justify-content: flex-start; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 20px 16px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-block; }
  .site-header .btn { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-3, .grid-4, .steps, .trust, .site-footer .cols, form .row { grid-template-columns: 1fr; }
  .section { padding-block: 56px; }
  .hero { padding-block: 44px; }
  .cta-band { padding: 28px; }
  .topline .wrap { justify-content: flex-start; gap: 6px 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Bouton WhatsApp flottant */
.wa-float { position: fixed; z-index: 40; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 10px; background: #25d366; color: #fff; text-decoration: none; padding: 10px 18px 10px 12px; border-radius: 999px; box-shadow: 0 10px 28px -8px rgba(0,0,0,.35); font: 600 .82rem/1.15 var(--display); }
.wa-float svg { width: 34px; height: 34px; flex: none; }
.wa-float b { font-size: .98rem; }
.wa-float:hover { background: #1ebe5a; }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 12px; } }

/* Prise de rendez-vous */
.rdv { background: var(--sky); }
.agences { margin-bottom: 24px; }
.agence { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.agence .ico { grid-row: span 2; }
.agence b { font-family: var(--display); color: var(--ink); }
.agence span { color: var(--muted); font-size: .95rem; }
.rdv-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.rdv-box iframe { width: 100%; height: 640px; border: 0; border-radius: 12px; }
.rdv-box .notice { margin-bottom: 16px; }
.avis-links { grid-column: 2; font-size: .92rem; }
.avis-links a { color: var(--ink); font-weight: 600; }
.avis .actions { justify-content: center; margin-top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.small { font-size: .88rem; }
