/* ==========================================================================
   Assurances et Mutuelles — thème 2026 (header, footer, cadre de page)
   ========================================================================== */
:root {
  --gm-primary: #c2500a;
  --gm-primary-dark: #9c3f06;
  --gm-primary-soft: #fff1e7;
  --gm-ink: #23262d;
  --gm-ink-2: #555b66;
  --gm-muted: #8a93a3;
  --gm-line: #e6e9f0;
  --gm-bg: #f6f6f4;
  --gm-white: #fff;
  --gm-dark: #1c1f26;
  --gm-dark-2: #262a33;
  --gm-accent: #fff1e7;
  --gm-radius: 12px;
  --gm-shadow: 0 10px 30px rgba(35, 43, 56, .08);
  --gm-container: 1200px;
  --gm-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gm-font-title: "Poppins", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.gm {
  margin: 0;
  font-family: var(--gm-font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--gm-ink);
  background: var(--gm-bg);
}
.gm a { color: var(--gm-primary); text-decoration: none; }
.gm a:hover { color: var(--gm-primary-dark); }
.gm img { max-width: 100%; height: auto; }
.gm-container { width: 100%; max-width: var(--gm-container); margin: 0 auto; padding: 0 20px; }
.gm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gm-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--gm-primary); color: #fff !important; padding: 10px 16px; }
.gm-skip:focus { left: 10px; top: 10px; }
.gm svg { flex-shrink: 0; }

/* ---------- Boutons ---------- */
.gm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 14px/1.2 var(--gm-font); white-space: nowrap; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.gm .gm-btn-primary { background: var(--gm-primary); color: #fff; }
.gm .gm-btn-primary:hover { background: var(--gm-primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(255, 117, 31, .3); }
.gm .gm-btn-light { background: #fff; color: var(--gm-ink); }
.gm .gm-btn-light:hover { color: var(--gm-primary); transform: translateY(-1px); }
.gm .gm-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.gm .gm-btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- Logo ---------- */
.gm-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--gm-ink) !important; }
.gm-logo svg { width: 46px; height: 46px; }
.gm-logo-text { font: 800 17px/1 var(--gm-font-title); letter-spacing: .02em; text-transform: uppercase; }
.gm-logo-text span { display: block; }
.gm-logo-text span + span { margin-top: 2px; }
.gm-logo--light { color: #fff !important; }
.gm-logo--light .gm-logo-dark { fill: #fff; }
.gm-logo--light .gm-logo-dark-stroke { stroke: #fff; }

/* ---------- Topbar ---------- */
.gm-topbar { background: var(--gm-dark); color: #d5dae3; font-size: 12.5px; }
.gm-topbar .gm-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.gm-topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.gm-topbar ul { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.gm-topbar li { display: flex; align-items: center; gap: 7px; }
.gm-topbar a { color: #fff !important; }
.gm-topbar a:hover { color: #c6cdf2 !important; }

/* ---------- Header ---------- */
.gm-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--gm-line); transition: box-shadow .25s; }
.gm-header.is-scrolled { box-shadow: 0 6px 24px rgba(35, 43, 56, .08); }
.gm-header .gm-container { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.gm-header .gm-logo { flex-shrink: 0; }
.gm-nav { flex: 1; display: flex; justify-content: center; }
.gm-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.gm-menu > li { position: relative; }
.gm-menu > li > a, .gm-menu > li > button {
  display: flex; align-items: center; gap: 5px; padding: 10px 12px; border: 0; background: none;
  font: 500 14.5px/1.2 var(--gm-font); color: var(--gm-ink); cursor: pointer; border-radius: 8px; white-space: nowrap;
}
.gm-menu > li > a:hover, .gm-menu > li > button:hover, .gm-menu > li.is-active > a, .gm-menu > li.is-active > button { color: var(--gm-primary); }
.gm-menu .gm-caret { width: 10px; height: 10px; transition: transform .2s; }
.gm-sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; margin: 0; padding: 10px; list-style: none;
  background: #fff; border: 1px solid var(--gm-line); border-radius: var(--gm-radius); box-shadow: var(--gm-shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.gm-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.gm-sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--gm-ink); font-size: 14px; }
.gm-sub a:hover { background: var(--gm-primary-soft); color: var(--gm-primary); }
.gm-menu > li:hover > .gm-sub, .gm-menu > li:focus-within > .gm-sub, .gm-menu > li.is-open > .gm-sub { opacity: 1; visibility: visible; transform: none; }
.gm-menu > li:hover .gm-caret, .gm-menu > li.is-open .gm-caret { transform: rotate(180deg); }
.gm-header-actions { display: flex; align-items: center; gap: 18px; }
.gm-call { display: flex; align-items: center; gap: 10px; color: var(--gm-ink) !important; line-height: 1.2; white-space: nowrap; }
.gm-call-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gm-primary-soft); color: var(--gm-primary); }
.gm-call small { display: block; font-size: 11.5px; color: var(--gm-muted); }
.gm-call strong { font-size: 14.5px; }
.gm-burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--gm-line); border-radius: 10px; background: #fff; color: var(--gm-ink); cursor: pointer; place-items: center; }

/* ---------- Cadre de page ---------- */
.gm-main { padding: 36px 0 64px; }
.gm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.gm-content {
  background: #fff; border: 1px solid var(--gm-line); border-radius: var(--gm-radius);
  padding: 32px 36px; overflow-wrap: anywhere; min-width: 0;
}
.gm-aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.gm-card { background: #fff; border: 1px solid var(--gm-line); border-radius: var(--gm-radius); padding: 22px; }
.gm-card h3 { margin: 0 0 8px; font: 600 17px/1.35 var(--gm-font-title); color: var(--gm-ink); }
.gm-card p { margin: 0 0 16px; color: var(--gm-ink-2); font-size: 14px; }
.gm-card--cta { background: var(--gm-primary); border-color: var(--gm-primary); color: #fff; }
.gm-card--cta h3, .gm-card--cta p { color: #fff; }
.gm-card--cta .gm-btn { width: 100%; }
.gm-card--accent { background: var(--gm-accent); border-color: #f8d6cc; }
.gm-card-phone { display: flex; align-items: center; gap: 12px; color: var(--gm-ink) !important; }
.gm-card-phone strong { display: block; font: 700 19px/1.2 var(--gm-font-title); }
.gm-card-phone small { color: var(--gm-ink-2); }
.gm-card ul { margin: 0; padding: 0; list-style: none; }
.gm-card li + li { border-top: 1px solid var(--gm-line); }
.gm-card li a { display: block; padding: 9px 0; color: var(--gm-ink); font-size: 14px; }
.gm-card li a:hover { color: var(--gm-primary); }

/* ---------- Contenu hérité (anciens articles) ---------- */
.gm-content h1, .gm-content h2, .gm-content h3, .gm-content h4,
.gm-content .componentheading, .gm-content .contentheading { font-family: var(--gm-font-title); color: var(--gm-ink); line-height: 1.3; }
.gm-content h1, .gm-content .componentheading { font-size: 30px; font-weight: 700; margin: 0 0 18px; }
.gm-content h2, .gm-content .contentheading { font-size: 23px; font-weight: 600; margin: 28px 0 12px; }
.gm-content h3 { font-size: 19px; font-weight: 600; margin: 24px 0 10px; }
.gm-content > :first-child, .gm-content .page-header:first-child h1, .gm-content .page-header:first-child h2 { margin-top: 0; }
.gm-content h1 a, .gm-content h2 a, .gm-content .contentheading a { color: inherit; }
.gm-content p { margin: 0 0 14px; }
.gm-content *:not(svg):not(path) { font-family: inherit !important; }
.gm-content h1, .gm-content h2, .gm-content h3, .gm-content h4,
.gm-content .contentheading, .gm-content .componentheading { font-family: var(--gm-font-title) !important; }
.gm-content span, .gm-content font { font-size: inherit !important; }
.gm-content p, .gm-content div, .gm-content span, .gm-content li, .gm-content td { line-height: 1.7 !important; }
.gm-content p, .gm-content div { text-align: left !important; }
.gm-content [style*="text-align: center"], .gm-content [align="center"] { text-align: center !important; }
.gm-content ul, .gm-content ol { padding-left: 22px; }
.gm-content table { max-width: 100%; border-collapse: collapse; }
.gm-content table[width] { width: 100% !important; }
.gm-content td, .gm-content th { vertical-align: top; }
.gm-content .sectiontableheader { background: var(--gm-primary-soft); color: var(--gm-ink); font-weight: 600; padding: 10px 12px; text-align: left; }
.gm-content .sectiontableentry1 td, .gm-content .sectiontableentry2 td { padding: 10px 12px; border-bottom: 1px solid var(--gm-line); }
.gm-content .sectiontableentry2 td { background: #fafbfd; }
.gm-content .createdate, .gm-content .small, .gm-content .modifydate, .gm-content .article-info { color: var(--gm-muted); font-size: 13px; }
.gm-content .article_separator, .gm-content .item-separator { height: 1px; margin: 24px 0; background: var(--gm-line); }
.gm-content .blog-featured .items-leading > div + div { margin-top: 28px; }
.gm-content .readmore a, .gm-content a.readon {
  display: inline-block; margin-top: 6px; padding: 8px 16px; border-radius: 999px; background: var(--gm-primary-soft); font-weight: 600; font-size: 13.5px;
}
.gm-content .pagination, .gm-content .pagenav { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0 0; }
.gm-content .pagination a, .gm-content .pagenav a { padding: 6px 12px; border: 1px solid var(--gm-line); border-radius: 8px; }
.gm-content input[type=text], .gm-content input[type=email], .gm-content select, .gm-content textarea {
  min-height: 42px; padding: 8px 12px; border: 1px solid #d6dae3; border-radius: 8px; font: 14px var(--gm-font); color: var(--gm-ink); background: #fff;
  max-width: 100%;
}
.gm-content input:focus, .gm-content select:focus { outline: 2px solid rgba(255, 117, 31, .35); border-color: var(--gm-primary); }
.gm-content input[type=submit] { background: var(--gm-primary); color: #fff; border: 0; border-radius: 999px; padding: 0 26px; font: 600 15px var(--gm-font); cursor: pointer; }
.gm-content input[type=submit]:hover { background: var(--gm-primary-dark); }
.gm-content input[type=reset] { background: #fff; color: var(--gm-ink-2); border: 1px solid var(--gm-line); border-radius: 999px; padding: 0 18px; cursor: pointer; }

/* ---------- Footer ---------- */
.gm-footer { background: var(--gm-dark); color: #b7bfcc; font-size: 14px; padding-top: 56px; }
.gm-cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin: 0 auto; padding: 34px 40px; border-radius: 18px;
  background: linear-gradient(120deg, #1c1f26 0%, #33394a 100%); color: #fff;
  box-shadow: 0 20px 40px rgba(255, 117, 31, .25);
}
.gm-cta-band h2 { margin: 0 0 4px; font: 700 24px/1.3 var(--gm-font-title); color: #fff; }
.gm-cta-band p { margin: 0; color: #e4e6eb; }
.gm-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.gm-footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 0 0 48px; margin-top: 52px; }
.gm-footer h4 { margin: 0 0 16px; font: 600 15px/1.3 var(--gm-font-title); color: #fff; }
.gm-footer ul { margin: 0; padding: 0; list-style: none; }
.gm-footer li + li { margin-top: 10px; }
.gm-footer a { color: #b7bfcc; }
.gm-footer a:hover { color: #fff; }
.gm-footer-about p { margin: 16px 0 20px; max-width: 340px; line-height: 1.7; }
.gm-footer-contact { display: grid; gap: 12px; }
.gm-footer-contact div { display: flex; align-items: center; gap: 12px; }
.gm-footer-contact .gm-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gm-dark-2); color: #fff; }
.gm-footer-contact strong { display: block; color: #fff; font-size: 15px; }
.gm-footer-contact small { font-size: 12.5px; }
.gm-footer-bottom { border-top: 1px solid #36404f; }
.gm-footer-bottom .gm-container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; font-size: 13px; }
.gm-footer-bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }
.gm-footer-bottom li + li { margin-top: 0; }
.gm-totop {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--gm-primary); color: #fff; box-shadow: var(--gm-shadow); cursor: pointer;
  display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.gm-totop.is-visible { opacity: 1; visibility: visible; }

/* ---------- Hero (toutes les pages) ---------- */
.gm-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 82% 30%, rgba(255,117,31,.28) 0, rgba(255,117,31,0) 40%),
    linear-gradient(115deg, #16181e 0%, #23262d 50%, #2f3440 80%, #3a3f4c 100%);
}
.gm-hero::before {
  content: ""; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.gm-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: end; min-height: 330px; }
.gm-hero-text { align-self: center; padding: 44px 0 48px; }
.gm-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0 0 18px; padding: 0; list-style: none; font-size: 13.5px; }
.gm-breadcrumb li { display: flex; align-items: center; color: #dfe4fb; }
.gm-breadcrumb li + li::before { content: ""; width: 6px; height: 6px; margin: 0 12px; border-top: 1.5px solid rgba(255,255,255,.6); border-right: 1.5px solid rgba(255,255,255,.6); transform: rotate(45deg); }
.gm .gm-breadcrumb a { color: #fff; opacity: .85; }
.gm .gm-breadcrumb a:hover { color: #fff; opacity: 1; text-decoration: underline; }
.gm-breadcrumb [aria-current] span { color: #fff; font-weight: 600; opacity: 1; }
.gm-hero h1 { margin: 0 0 14px; font: 700 clamp(26px, 3.4vw, 42px)/1.2 var(--gm-font-title); color: #fff; letter-spacing: -.01em; max-width: 760px; }
.gm-hero p { margin: 0; max-width: 640px; font-size: 16.5px; line-height: 1.7; color: #e4e6eb; }
.gm-hero-media { position: relative; align-self: end; height: 100%; min-height: 330px; }
.gm-hero-blob { position: absolute; left: 50%; bottom: 24px; width: 300px; height: 300px; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(255,255,255,.28) 0%, rgba(255,255,255,.08) 60%, rgba(255,255,255,0) 72%); }
.gm-hero-media img { position: absolute; left: 50%; bottom: 0; width: auto; max-width: none; height: 310px; transform: translateX(-50%); filter: drop-shadow(0 18px 30px rgba(20, 26, 40, .35)); }
.gm-hero-media.is-empty img { display: none; }
.gm-main { padding-top: 40px; }
@media (max-width: 991px) {
  .gm-hero-inner { grid-template-columns: minmax(0, 1fr) 260px; min-height: 280px; }
  .gm-hero-media { min-height: 280px; }
  .gm-hero-media img { height: 250px; }
  .gm-hero-blob { width: 230px; height: 230px; }
  .gm-hero-text { padding: 36px 0 40px; }
}
@media (max-width: 700px) {
  .gm-hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .gm-hero-text { padding: 28px 0 8px; }
  .gm-hero p { font-size: 15px; }
  .gm-hero-media { min-height: 0; height: 210px; }
  .gm-hero-media img { height: 205px; }
  .gm-hero-blob { width: 190px; height: 190px; bottom: 10px; }
  .gm-hero-media.is-empty { display: none; }
  .gm-hero-text { padding-bottom: 32px; }
  .gm-hero-media:not(.is-empty) ~ * { display: none; }
}

/* ---------- Hero : CTA + Trustpilot ---------- */
.gm-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 26px; }
.gm .gm-btn-cta {
  padding: 15px 28px; font-size: 16px; color: #1c1f26;
  background: linear-gradient(95deg, #ffb347 0%, #ff8f33 50%, #ff751f 100%);
  box-shadow: 0 10px 24px rgba(255, 117, 31, .38); border: 0;
}
.gm .gm-btn-cta:hover { color: #1c1f26; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 117, 31, .5); filter: saturate(1.1); }
.gm .gm-btn-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.gm-btn-cta svg:last-child { transition: transform .2s; }
.gm-btn-cta:hover svg:last-child { transform: translateX(3px); }
.gm-trust { display: flex; flex-direction: column; gap: 6px; }
.gm-tp-stars { display: inline-flex; gap: 3px; }
.gm-tp-box {
  display: grid; place-items: center; width: 24px; height: 24px;
  background: linear-gradient(90deg, #00b67a var(--fill), rgba(255,255,255,.3) var(--fill));
}
.gm-tp-box svg { width: 17px; height: 17px; }
.gm-trust-text { font-size: 13.5px; color: #e4e6eb; }
.gm-trust-text strong { color: #fff; font-size: 14.5px; }
.gm-tp-brand { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; color: #fff; }
.gm-tp-brand svg { width: 16px; height: 16px; }
@media (max-width: 600px) {
  .gm-hero-actions { gap: 16px; margin-top: 20px; }
  .gm .gm-btn-cta { width: 100%; }
}

/* ---------- Ajustements hero : avis au-dessus du CTA, image centrée ---------- */
.gm-hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 22px; }
.gm-trust { order: -1; flex-direction: row; align-items: center; gap: 8px; white-space: nowrap; }
.gm-tp-stars { gap: 2px; }
.gm-tp-box { width: 17px; height: 17px; }
.gm-tp-box svg { width: 12px; height: 12px; }
.gm-trust-text { font-size: 12.5px; }
.gm-trust-text strong { font-size: 13px; }
.gm-tp-brand svg { width: 13px; height: 13px; }
.gm-hero-inner { align-items: center; }
.gm-hero-media { align-self: center; display: grid; place-items: center; height: 300px; min-height: 0; }
.gm-hero-media picture { position: relative; z-index: 1; display: block; }
.gm-hero-media img { position: static; transform: none; height: 280px; width: auto; max-width: 100%; }
.gm-hero-blob { top: 50%; bottom: auto; transform: translate(-50%, -50%); }
@media (max-width: 991px) {
  .gm-hero-media { height: 260px; }
  .gm-hero-media img { height: 240px; }
}
@media (max-width: 700px) {
  .gm-hero-media { height: 220px; }
  .gm-hero-media img { height: 205px; }
  .gm-hero-actions { align-items: stretch; }
}
@media (max-width: 400px) {
  .gm-trust { white-space: normal; flex-wrap: wrap; }
}

/* ---------- Pages légales + consentement ---------- */
.gm-content mark.gm-todo { background: #fff3c4; color: #7a5a00; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.gm-content .gm-legal-table { width: 100%; margin: 8px 0 24px; border: 1px solid var(--gm-line); border-radius: 10px; overflow: hidden; }
.gm-content .gm-legal-table th, .gm-content .gm-legal-table td { padding: 11px 14px; border-bottom: 1px solid var(--gm-line); text-align: left; }
.gm-content .gm-legal-table th { width: 34%; background: #fafbfd; font-weight: 600; color: var(--gm-ink); }
.gm-content .gm-legal-table thead th { background: var(--gm-primary-soft); width: auto; }
.gm-content .gm-consent { margin: 18px 0 6px; padding: 14px 16px; border: 1px solid var(--gm-line); border-radius: 10px; background: #fafbfd; text-align: left !important; }
.gm-content .gm-consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.gm-content .gm-consent input[type=checkbox] { width: 18px; height: 18px; min-height: 0; margin-top: 3px; flex-shrink: 0; accent-color: var(--gm-primary); }
.gm-content .gm-consent p { margin: 8px 0 0 28px; font-size: 12.5px; color: var(--gm-ink-2); line-height: 1.55 !important; }
.gm-footer-bottom span a { color: #fff; text-decoration: underline; }
@media (max-width: 600px) { .gm-content .gm-legal-table th { width: 40%; } }

/* ---------- Page devis : hero + formulaire suspendu ---------- */
.gm-hero--form { padding: 44px 0 130px; text-align: center; }
.gm-hero--form h1 { max-width: 900px; margin: 0 auto; font: 700 clamp(26px, 3.6vw, 44px)/1.2 var(--gm-font-title); color: #fff; }
.gm-devis { position: relative; z-index: 2; margin-top: -92px; padding-bottom: 8px; }
.gm-devis-card {
  background: #fff; border-radius: 18px; box-shadow: 0 26px 60px rgba(35, 43, 56, .18);
  border: 1px solid rgba(255,255,255,.6); padding: 30px 34px 26px;
}
.gm-devis-head { text-align: center; margin-bottom: 22px; }
.gm-devis-kicker {
  display: inline-flex; align-items: center; gap: 7px; margin: 0 0 10px; padding: 6px 14px;
  border-radius: 999px; background: #e8f7ef; color: #14804a; font-size: 13px; font-weight: 600;
}
.gm-devis-lead { margin: 0; color: var(--gm-ink-2); font-size: 15px; }
.gm-devis-erreur { margin: 0 0 18px; padding: 12px 16px; border: 1px solid #d9534f; border-radius: 10px; background: #fdecea; color: #a4342f; font-weight: 600; font-size: 14px; }
.gm-fieldset { margin-bottom: 22px; }
.gm-fieldset h2 {
  display: flex; align-items: center; gap: 9px; margin: 0 0 14px; padding-bottom: 9px;
  border-bottom: 1px solid var(--gm-line); font: 600 15px/1.3 var(--gm-font-title); color: var(--gm-primary);
}
.gm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.gm-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gm-field--full { grid-column: 1 / -1; }
.gm-field[hidden] { display: none; }
.gm-field label { font-size: 13.5px; font-weight: 500; color: var(--gm-ink); }
.gm-field small { font-size: 12px; color: var(--gm-muted); }
.gm-input { position: relative; display: flex; }
.gm-input-ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--gm-muted); pointer-events: none; display: flex; }
.gm-input input, .gm-input select {
  width: 100%; height: 48px; padding: 0 14px 0 42px; border: 1px solid #d6dae3; border-radius: 10px;
  font: 15px var(--gm-font); color: var(--gm-ink); background: #fff; appearance: none; -webkit-appearance: none;
}
.gm-input select {
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a93a3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.gm-input input:focus, .gm-input select:focus { outline: 3px solid rgba(255, 117, 31, .25); border-color: var(--gm-primary); }
.gm-input input:focus + .gm-input-ico { color: var(--gm-primary); }
.gm-civilite { display: flex; gap: 12px; flex-wrap: wrap; }
.gm-radio { flex: 1 1 160px; }
.gm-radio input { position: absolute; opacity: 0; pointer-events: none; }
.gm-radio span {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 16px;
  border: 1px solid #d6dae3; border-radius: 10px; font-size: 15px; color: var(--gm-ink-2); cursor: pointer; transition: .2s;
}
.gm-radio span:hover { border-color: var(--gm-primary); color: var(--gm-primary); }
.gm-radio input:checked + span { border-color: var(--gm-primary); background: var(--gm-primary-soft); color: var(--gm-primary); font-weight: 600; }
.gm-radio input:focus-visible + span { outline: 3px solid rgba(255, 117, 31, .3); }
.gm-devis-card .gm-consent { margin: 4px 0 20px; padding: 14px 16px; border: 1px solid var(--gm-line); border-radius: 10px; background: #fafbfd; }
.gm-devis-card .gm-consent label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.gm-devis-card .gm-consent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--gm-primary); }
.gm-devis-card .gm-consent p { margin: 8px 0 0 28px; font-size: 12.5px; color: var(--gm-ink-2); }
.gm-hp { position: absolute; left: -9999px; }
.gm-devis-submit { text-align: center; }
.gm-devis-submit .gm-btn { min-width: 300px; }
.gm-devis-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px 0 0; font-size: 12.5px; color: var(--gm-muted); }
.gm-devis-reassurance {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0 0; padding: 0; list-style: none;
}
.gm-devis-reassurance li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--gm-line); border-radius: 12px; }
.gm-devis-reassurance svg { color: var(--gm-primary); }
.gm-devis-reassurance strong { display: block; font: 600 15px/1.3 var(--gm-font-title); color: var(--gm-ink); }
.gm-devis-reassurance span { font-size: 12.5px; color: var(--gm-ink-2); }
.gm-page-devis .gm-main { padding-top: 34px; }
@media (max-width: 860px) {
  .gm-devis-reassurance { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .gm-hero--form { padding: 30px 0 110px; }
  .gm-devis { margin-top: -86px; }
  .gm-devis-card { padding: 22px 18px 20px; border-radius: 14px; }
  .gm-grid { grid-template-columns: 1fr; gap: 14px; }
  .gm-devis-submit .gm-btn { width: 100%; min-width: 0; }
}

/* ---------- Bulles flottantes sur l'image du hero ---------- */
.gm-bulle {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px; border-radius: 14px; background: #fff;
  box-shadow: 0 14px 30px rgba(20, 26, 40, .22); white-space: nowrap;
  animation: gm-flotte 4.5s ease-in-out infinite;
}
.gm-bulle strong { display: block; font: 600 13.5px/1.25 var(--gm-font-title); color: var(--gm-ink); }
.gm-bulle small { font-size: 11.5px; color: var(--gm-ink-2); }
.gm-bulle-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; }
.gm-bulle-ico--vert { background: #e8f7ef; color: #14804a; }
.gm-bulle-ico--orange { background: #fff1dc; color: #b96a00; }
.gm-bulle--1 { top: 9%; left: -72px; }
.gm-bulle--2 { bottom: 15%; right: -54px; animation-delay: -2.2s; }
@keyframes gm-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width: 1140px) {
  .gm-bulle { padding: 8px 12px 8px 9px; gap: 8px; }
  .gm-bulle strong { font-size: 12.5px; }
  .gm-bulle small { font-size: 11px; }
  .gm-bulle-ico { width: 30px; height: 30px; }
  .gm-bulle--1 { top: 6%; left: -48px; }
  .gm-bulle--2 { right: -30px; }
}
@media (max-width: 991px) {
  .gm-bulle--1 { top: 8%; left: -18px; }
  .gm-bulle--2 { bottom: 8%; right: -10px; }
  .gm-bulle small { display: none; }
}
@media (max-width: 700px) {
  .gm-bulle { padding: 7px 11px 7px 8px; }
  .gm-bulle--1 { top: 4%; left: 0; }
  .gm-bulle--2 { bottom: 4%; right: 0; }
}
@media (prefers-reduced-motion: reduce) { .gm-bulle { animation: none; } }
/* la bulle de gauche déborde de l'image : on garde le texte du hero à distance */
@media (min-width: 992px) { .gm-hero-text { padding-right: 48px; } }
@media (min-width: 992px) and (max-width: 1140px) { .gm-hero-text { padding-right: 24px; } }

/* ---------- Page d'accueil ---------- */
.gm-home-sec { padding: 72px 0; background: #fff; }
.gm-home-sec--alt { background: var(--gm-bg); }
.gm-home-sec--partners { padding: 56px 0; border-top: 1px solid var(--gm-line); border-bottom: 1px solid var(--gm-line); }
.gm-sec-head { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.gm-sec-head--sub { margin-top: 52px; }
.gm-sec-head h2, .gm-split-text h2 { margin: 0 0 12px; font: 700 clamp(24px, 2.6vw, 34px)/1.25 var(--gm-font-title); color: var(--gm-ink); }
.gm-sec-head p { margin: 0; color: var(--gm-ink-2); font-size: 16px; }
.gm-eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gm-primary); }
.gm-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.gm .gm-tile {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--gm-line); border-radius: 14px;
  background: #fff; color: var(--gm-ink); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.gm .gm-tile:hover { border-color: var(--gm-primary); box-shadow: var(--gm-shadow); transform: translateY(-2px); color: var(--gm-ink); }
.gm-tile-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gm-primary-soft); color: var(--gm-primary); flex-shrink: 0; }
.gm-tile-txt { flex: 1; min-width: 0; }
.gm-tile-txt strong { display: block; font: 600 15.5px/1.3 var(--gm-font-title); }
.gm-tile-txt small { display: block; margin-top: 2px; font-size: 13px; color: var(--gm-ink-2); }
.gm-tile-arrow { color: var(--gm-muted); font-size: 18px; transition: transform .2s, color .2s; }
.gm-tile:hover .gm-tile-arrow { color: var(--gm-primary); transform: translateX(3px); }
.gm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.gm-split--top { align-items: start; margin-bottom: 34px; }
.gm-split--rev .gm-split-media { order: 2; }
.gm-split-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: 0 24px 50px rgba(35, 43, 56, .14); }
.gm-prose p, .gm-prose li { color: var(--gm-ink-2); line-height: 1.75; }
.gm-prose h3 { margin: 22px 0 8px; font: 600 19px/1.35 var(--gm-font-title); color: var(--gm-ink); }
.gm-prose ul { padding-left: 20px; }
.gm-prose li { margin-bottom: 6px; }
.gm-prose strong { color: var(--gm-ink); }
.gm-steps { list-style: none; margin: 20px 0 26px; padding: 0; display: grid; gap: 16px; }
.gm-steps li { display: flex; gap: 14px; align-items: flex-start; }
.gm-steps li > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gm-primary); color: #fff; font: 700 15px var(--gm-font-title); flex-shrink: 0; }
.gm-steps strong { font: 600 16px/1.3 var(--gm-font-title); color: var(--gm-ink); }
.gm-steps p { margin: 4px 0 0; color: var(--gm-ink-2); font-size: 14.5px; }
.gm-partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 0; padding: 0; list-style: none; }
.gm-partner {
  display: flex; align-items: center; gap: 12px; min-width: 190px; padding: 14px 22px; border: 1px solid var(--gm-line);
  border-radius: 14px; background: #fff; font: 600 16px var(--gm-font-title); color: var(--gm-ink);
}
.gm-partner img { width: 62px; height: 52px; object-fit: contain; }
.gm-partner-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--gm-primary-soft); color: var(--gm-primary); font: 800 22px var(--gm-font-title); }
.gm-example { margin-top: 40px; padding: 26px 28px; border-radius: 18px; background: #fff; border: 1px solid var(--gm-line); }
.gm-example-title { margin: 0 0 16px; font: 600 16px var(--gm-font-title); color: var(--gm-ink); }
.gm-example-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gm-example-grid > div { padding: 16px; border-radius: 12px; background: var(--gm-primary-soft); }
.gm-example-num { display: block; font: 700 24px/1.2 var(--gm-font-title); color: var(--gm-primary); }
.gm-example-grid span:last-child { font-size: 13.5px; color: var(--gm-ink-2); }
.gm-example-note { margin: 14px 0 0; font-size: 12.5px; color: var(--gm-muted); }
.gm-factors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gm-factor { padding: 22px; border: 1px solid var(--gm-line); border-radius: 16px; background: #fff; }
.gm-factor svg { color: var(--gm-primary); }
.gm-factor h3 { margin: 12px 0 6px; font: 600 16.5px/1.3 var(--gm-font-title); color: var(--gm-ink); }
.gm-factor p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--gm-ink-2); }
.gm-center { margin: 34px 0 0; text-align: center; }
.gm-tp-summary { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 6px 0 16px; }
.gm-tp-summary p { margin: 0; color: var(--gm-ink); }
.gm-tp-stars--lg .gm-tp-box { width: 30px; height: 30px; }
.gm-tp-stars--lg .gm-tp-box svg { width: 20px; height: 20px; }
.gm-tp-stars--lg .gm-tp-box { background: linear-gradient(90deg, #00b67a var(--fill), #dcdce6 var(--fill)); }
.gm-reviews { display: grid; gap: 14px; margin: 20px 0; }
.gm-review { margin: 0; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--gm-line); }
.gm-review-stars { color: #00b67a; letter-spacing: 2px; }
.gm-review blockquote { margin: 8px 0; color: var(--gm-ink); font-style: italic; }
.gm-review figcaption { font-size: 13px; color: var(--gm-muted); }
.gm .gm-btn-outline { border-color: var(--gm-line); }
.gm-narrow { max-width: 860px; }
.gm-home .gm-sec-head h2 { margin-bottom: 10px; }
@media (max-width: 991px) {
  .gm-home-sec { padding: 52px 0; }
  .gm-split { grid-template-columns: 1fr; gap: 28px; }
  .gm-split--rev .gm-split-media { order: 0; }
  .gm-factors { grid-template-columns: repeat(2, 1fr); }
  .gm-example-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gm-home-sec { padding: 40px 0; }
  .gm-factors, .gm-example-grid { grid-template-columns: 1fr; }
  .gm-partner { min-width: 0; flex: 1 1 140px; }
}

/* ---------- Blocs éditoriaux (réponse rapide, loi, conseil, avantages / inconvénients) ---------- */
:is(.gm-content, .am-prose) .gm-box { margin: 22px 0; padding: 18px 20px 16px; border-radius: 14px; border-left: 5px solid; }
:is(.gm-content, .am-prose) .gm-box p:last-child { margin-bottom: 0; }
:is(.gm-content, .am-prose) .gm-box-title { margin: 0 0 8px; font: 700 13px/1.3 var(--gm-font); letter-spacing: .06em; text-transform: uppercase; }
:is(.gm-content, .am-prose) .gm-box--answer { background: #fff1e7; border-color: var(--gm-primary); }
:is(.gm-content, .am-prose) .gm-box--answer .gm-box-title { color: var(--gm-primary); }
:is(.gm-content, .am-prose) .gm-box--law { background: #fff7e6; border-color: #f0a500; }
:is(.gm-content, .am-prose) .gm-box--law .gm-box-title { color: #9a6400; }
:is(.gm-content, .am-prose) .gm-box--tip { background: #e8f7ef; border-color: #1f9d61; }
:is(.gm-content, .am-prose) .gm-box--tip .gm-box-title { color: #14804a; }
:is(.gm-content, .am-prose) .gm-adresse { margin: 8px 0 14px; padding: 12px 16px; border-radius: 10px; background: #fff; border: 1px dashed #b9c1e6; font-weight: 600; color: var(--gm-ink); line-height: 1.6 !important; }
:is(.gm-content, .am-prose) .gm-adresse-titre { margin: 14px 0 0; font-weight: 600; color: var(--gm-ink); }
:is(.gm-content, .am-prose) .gm-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 24px; }
:is(.gm-content, .am-prose) .gm-pros, :is(.gm-content, .am-prose) .gm-cons { padding: 16px 18px; border-radius: 14px; }
:is(.gm-content, .am-prose) .gm-pros { background: #e8f7ef; }
:is(.gm-content, .am-prose) .gm-cons { background: #fdecea; }
:is(.gm-content, .am-prose) .gm-pros .gm-box-title { color: #14804a; }
:is(.gm-content, .am-prose) .gm-cons .gm-box-title { color: #a4342f; }
:is(.gm-content, .am-prose) .gm-pros ul, :is(.gm-content, .am-prose) .gm-cons ul { margin: 0; padding-left: 0; list-style: none; }
:is(.gm-content, .am-prose) .gm-pros li, :is(.gm-content, .am-prose) .gm-cons li { position: relative; padding-left: 24px; margin-bottom: 7px; }
:is(.gm-content, .am-prose) .gm-pros li::before { content: "✓"; position: absolute; left: 0; color: #1f9d61; font-weight: 700; }
:is(.gm-content, .am-prose) .gm-cons li::before { content: "✕"; position: absolute; left: 0; color: #c9463d; font-weight: 700; }
:is(.gm-content, .am-prose) .gm-table-wrap { overflow-x: auto; }
:is(.gm-content, .am-prose) .gm-cpam-table td:first-child { width: 34%; }
:is(.gm-content, .am-prose) .gm-cpam-table td:last-child { white-space: nowrap; font-size: 13.5px; }
:is(.gm-content, .am-prose) .gm-source { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--gm-line); font-size: 12.5px; color: var(--gm-muted); }
:is(.gm-content, .am-prose) .gm-dep-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin: 20px 0; padding: 0; list-style: none; }
:is(.gm-content, .am-prose) .gm-dep-list a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--gm-line); border-radius: 10px; color: var(--gm-ink); }
:is(.gm-content, .am-prose) .gm-dep-list a:hover { border-color: var(--gm-primary); color: var(--gm-primary); }
:is(.gm-content, .am-prose) .gm-dep-code { display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 6px; border-radius: 6px; background: var(--gm-primary-soft); color: var(--gm-primary); font: 700 12.5px var(--gm-font); }
@media (max-width: 700px) { .gm-content .gm-proscons { grid-template-columns: 1fr; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .gm-call { display: none; }
  .gm-menu > li > a, .gm-menu > li > button { padding: 10px 9px; font-size: 14px; }
}
@media (min-width: 992px) and (max-width: 1120px) {
  .gm-header .gm-container { gap: 14px; }
  .gm-menu > li > a, .gm-menu > li > button { padding: 10px 6px; font-size: 13.5px; }
  .gm-header-actions .gm-btn { padding: 10px 14px; }
  .gm-logo-text { font-size: 15px; }
}
@media (max-width: 991px) {
  .gm-topbar .gm-topbar-info { display: none; }
  .gm-topbar .gm-container { justify-content: center; }
  .gm-header .gm-container { min-height: 66px; gap: 12px; }
  .gm-burger { display: grid; }
  .gm-header-actions .gm-btn { display: none; }
  .gm-nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); z-index: 200; background: #fff;
    padding: 80px 20px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease;
    box-shadow: -20px 0 40px rgba(0,0,0,.12);
  }
  .gm-nav-open .gm-nav { transform: none; }
  .gm-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(35, 43, 56, .45); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .gm-nav-open .gm-overlay { opacity: 1; visibility: visible; }
  .gm-nav-open { overflow: hidden; }
  .gm-nav-close { position: absolute; top: 18px; right: 18px; }
  .gm-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .gm-menu > li { border-bottom: 1px solid var(--gm-line); }
  .gm-menu > li > a, .gm-menu > li > button { width: 100%; justify-content: space-between; padding: 15px 4px; font-size: 16px; }
  .gm-sub { position: static; display: none; min-width: 0; padding: 0 0 12px 8px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .gm-menu > li.is-open > .gm-sub { display: block; }
  .gm-menu > li:hover > .gm-sub { display: none; }
  .gm-menu > li.is-open:hover > .gm-sub { display: block; }
  .gm-nav-mobile-cta { display: grid !important; gap: 10px; margin-top: 24px; }
  .gm-layout { grid-template-columns: 1fr; }
  .gm-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .gm-footer-main { grid-template-columns: 1fr 1fr; }
  .gm-footer-about { grid-column: 1 / -1; }
}
@media (min-width: 992px) {
  .gm-nav-close, .gm-overlay, .gm-nav-mobile-cta { display: none !important; }
}
@media (max-width: 600px) {
  .gm-footer { padding-top: 36px; }
  body.gm { font-size: 15px; }
  .gm-container { padding: 0 16px; }
  .gm-topbar ul { gap: 14px; }
  .gm-topbar .gm-topbar-hours { display: none; }
  .gm-logo svg { width: 40px; height: 40px; }
  .gm-logo-text { font-size: 15px; }
  .gm-main { padding: 20px 0 40px; }
  .gm-content { padding: 22px 18px; }
  .gm-content h1, :is(.gm-content, .am-prose) .componentheading { font-size: 24px; }
  .gm-content h2, :is(.gm-content, .am-prose) .contentheading { font-size: 20px; }
  .gm-cta-band { padding: 26px 22px; }
  .gm-cta-band h2 { font-size: 20px; }
  .gm-cta-actions, .gm-cta-actions .gm-btn { width: 100%; }
  .gm-footer-main { grid-template-columns: 1fr; gap: 30px; margin-top: 40px; }
  .gm-footer-bottom .gm-container { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Assurances et Mutuelles — compléments
   ========================================================================== */
.gm-logo img { display: block; height: 44px; width: auto; }
.gm-footer .gm-logo img { height: 40px; }
@media (max-width: 700px) { .gm-logo img { height: 36px; } }
.am-reassure { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; color: #e4e6eb; }
.am-reassure svg { color: #ff9a52; }
.gm-hero p.am-reassure { font-size: 13.5px; }
.am-liste { columns: 2 280px; column-gap: 32px; padding-left: 18px; }
.am-liste li { break-inside: avoid; margin-bottom: 6px; }
.am-section { padding: 56px 0; background: #fff; }
.am-section--alt { background: var(--gm-bg); }
.am-section-head { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.am-section-head h2 { margin: 0 0 10px; font: 700 clamp(22px, 2.6vw, 30px)/1.25 var(--gm-font-title); color: var(--gm-ink); }
.am-section-head p { margin: 0; color: var(--gm-ink-2); }
.am-section-head--sub { margin-top: 36px; }
.am-section-head--sub h3 { margin: 0; font: 600 19px/1.3 var(--gm-font-title); }
.am-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.gm .am-tile { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--gm-line); border-radius: var(--gm-radius); color: var(--gm-ink); font-weight: 600; transition: border-color .2s, transform .2s, box-shadow .2s; }
.gm .am-tile:hover { border-color: #ff751f; color: var(--gm-ink); transform: translateY(-2px); box-shadow: var(--gm-shadow); }
.am-tile-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff1e7; color: #c2500a; }
.am-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 28px; padding: 0; list-style: none; }
.am-steps li { padding: 24px; background: #fff; border-radius: var(--gm-radius); box-shadow: var(--gm-shadow); }
.am-steps h3 { margin: 12px 0 8px; font: 600 17px/1.3 var(--gm-font-title); }
.am-steps p { margin: 0; color: var(--gm-ink-2); }
.am-step-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #ff751f; color: #1c1f26; font: 700 17px/1 var(--gm-font-title); }
.am-center { text-align: center; }
.am-prose { max-width: 860px; }
.am-prose h2 { margin: 36px 0 12px; font: 700 24px/1.3 var(--gm-font-title); }
.am-prose h3 { margin: 22px 0 8px; font: 600 18px/1.35 var(--gm-font-title); }
.am-prose p, .am-prose li { color: var(--gm-ink-2); }
@media (max-width: 800px) { .am-steps { grid-template-columns: 1fr; } .am-section { padding: 40px 0; } }

/* ---------- Hero : image posée sur la ligne du bas ---------- */
.gm-hero-inner { align-items: stretch; grid-template-columns: minmax(0, 1fr) 460px; }
.gm-hero-text { align-self: center; }
.gm-hero-media { align-self: stretch; display: flex; align-items: flex-end; justify-content: center; height: auto; min-height: 330px; }
.gm-hero-media picture { display: block; width: 100%; line-height: 0; }
.gm-hero-media img { display: block; width: 100%; height: auto; max-width: none; filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .35)); }
.gm-hero-blob { top: auto; bottom: 40px; transform: translateX(-50%); }
.gm-bulle--1 { top: auto; bottom: 62%; left: -30px; }
.gm-bulle--2 { bottom: 18%; right: -24px; }
@media (max-width: 1140px) {
  .gm-hero-inner { grid-template-columns: minmax(0, 1fr) 380px; }
  .gm-bulle--1 { left: -24px; }
  .gm-bulle--2 { right: -8px; }
}
@media (max-width: 991px) {
  .gm-hero-inner { grid-template-columns: minmax(0, 1fr) 300px; }
  .gm-hero-media { height: auto; min-height: 0; }
}
@media (max-width: 700px) {
  .gm-hero-inner { grid-template-columns: 1fr; gap: 0; }
  .gm-hero-media { height: auto; min-height: 0; }
  .gm-hero-media picture { width: min(100%, 380px); margin: 0 auto; }
  .gm-bulle--1 { bottom: 58%; left: 0; }
  .gm-bulle--2 { bottom: 12%; right: 0; }
  .gm-hero-media img { height: auto; }
  .gm-hero-text { padding-bottom: 20px; }
}

/* ---------- Accueil : sections illustrées ---------- */
.am-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin: 0 0 48px; }
.am-duo:last-child { margin-bottom: 0; }
.am-duo--inverse .am-duo-media { order: 2; }
.am-duo-media picture { display: block; }
.am-duo-media img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: var(--gm-shadow); }
.am-duo-texte h2 { margin: 0 0 12px; font: 700 clamp(21px, 2.3vw, 27px)/1.3 var(--gm-font-title); color: var(--gm-ink); }
.am-duo-texte p { margin: 0 0 12px; color: var(--gm-ink-2); line-height: 1.75; }
.am-duo-texte p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .am-duo { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .am-duo--inverse .am-duo-media { order: 0; }
}
