/* France Demarches — CSS premium (no deps) */
:root{
  --bg0:#ffffff;
  --bg1:#f7f4ff;
  --bg2:#fdf2f8;
  --ink:#0f172a;
  --muted:#475569;
  --muted2:#64748b;
  --card:#ffffff;
  --line:rgba(15,23,42,.10);
  --shadow: 0 14px 40px rgba(15,23,42,.10);
  --shadow2: 0 10px 30px rgba(15,23,42,.08);
  --lav:#7b61ff;
  --lav2:#b7a6ff;
  --coral:#ff6fae;
  --coral2:#ffb7d6;
  --ok:#0ea5e9;
  --radius:22px;
  --radius2:16px;
  --max:1160px;
  --focus: 0 0 0 3px rgba(123,97,255,.24), 0 0 0 1px rgba(123,97,255,.35);
  --tap:44px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--ink);
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(183,166,255,.35), transparent 60%),
    radial-gradient(1100px 650px at 95% -10%, rgba(255,183,214,.35), transparent 55%),
    linear-gradient(180deg, var(--bg1), #ffffff 55%, var(--bg2));
  line-height:1.55;
}

img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}
p{margin:0 0 14px}
ul{margin:0; padding-left:18px}
small{color:var(--muted2)}
.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}

.container{width:min(var(--max), calc(100% - 40px)); margin:0 auto}

.skip-link{
  position:absolute; left:-999px; top:10px;
  background:#fff; padding:10px 14px; border-radius:12px; border:1px solid var(--line);
  z-index:9999;
}
.skip-link:focus{left:10px; box-shadow:var(--shadow2)}

header.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.70);
  border-bottom:1px solid rgba(15,23,42,.06);
}
.header-inner{
  display:flex; align-items:center; gap:14px;
  padding:12px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
  min-width:68px;
}
.brand img{width:46px; height:46px}
.nav{
  flex:1;
  display:flex; align-items:center; justify-content:center;
  gap:14px;
}
.nav a, .nav button{
  display:inline-flex; align-items:center; justify-content:center;
  min-height:var(--tap);
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
  color:var(--muted);
  font-weight:650;
  letter-spacing:.2px;
  background:transparent;
  cursor:pointer;
}
.nav a:hover, .nav button:hover{background:rgba(123,97,255,.10); color:var(--ink)}
.nav a:focus-visible, .nav button:focus-visible{outline:none; box-shadow:var(--focus); border-color:rgba(123,97,255,.30)}

.right{
  display:flex; align-items:center; gap:10px;
  justify-content:flex-end;
}
.phone-pill{
  display:inline-flex; align-items:center; gap:8px;
  min-height:var(--tap);
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.60));
  box-shadow: 0 8px 22px rgba(15,23,42,.06);
  font-weight:750;
}
.phone-pill svg{width:18px; height:18px; opacity:.85}
.phone-pill:hover{transform: translateY(-1px)}
.phone-pill:focus-visible{outline:none; box-shadow:var(--focus)}

.menu-btn{
  display:none;
  align-items:center; justify-content:center;
  width:var(--tap); height:var(--tap);
  border-radius:12px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.75);
}
.menu-btn svg{width:20px; height:20px}
.menu-btn:focus-visible{outline:none; box-shadow:var(--focus)}

.dropdown{position:relative}
.dropdown-panel{
  position:absolute; left:0; top:calc(100% + 10px);
  width: 420px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  padding:12px;
  display:none;
  gap:6px;
  grid-template-columns: 1fr 1fr;
}
.dropdown-panel a{
  display:flex; align-items:center; justify-content:flex-start;
  gap:10px;
  min-height:var(--tap);
  padding:10px 12px;
  border-radius:14px;
  color:var(--ink);
  border:1px solid transparent;
}
.dropdown-panel a strong{font-weight:800}
.dropdown-panel a span{display:none}
.dropdown-panel a:hover{background:rgba(123,97,255,.10)}
.dropdown-panel a:focus-visible{outline:none; box-shadow:var(--focus); border-color:rgba(123,97,255,.30)}

.dropdown[data-open="1"] .dropdown-panel{display:grid}

.mobile-nav{
  display:none;
  padding:10px 0 14px;
}
.mobile-panel{
  border:1px solid rgba(15,23,42,.10);
  border-radius:18px;
  background:rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
  padding:10px;
}
.mobile-panel a, .mobile-panel button{
  width:100%;
  display:flex; align-items:center; justify-content:flex-start;
  min-height:var(--tap);
  padding:10px 12px;
  border-radius:14px;
  border:1px solid transparent;
  background:transparent;
  color:var(--ink);
  font-weight:720;
  cursor:pointer;
}
.mobile-panel a svg, .mobile-panel button svg{width:20px; height:20px; flex:0 0 20px; opacity:.85; pointer-events:none}
.mobile-panel a:hover, .mobile-panel button:hover{background:rgba(123,97,255,.10)}
.mobile-panel a:focus-visible, .mobile-panel button:focus-visible{outline:none; box-shadow:var(--focus); border-color:rgba(123,97,255,.30)}
.mobile-sub{display:none; padding:6px 0 2px}
.mobile-sub a{font-weight:650; color:var(--muted)}
.mobile-sub[data-open="1"]{display:block}

main{padding:24px 0 64px}

.hero{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:22px;
  align-items:stretch;
  margin-top:10px;
}
.hero-card{
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.88);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  overflow:hidden;
}
.hero-left{padding:22px 22px 18px}
.kicker{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(123,97,255,.25);
  background: rgba(123,97,255,.08);
  color:var(--ink);
  font-weight:750;
  font-size:14px;
}
.kicker i{
  width:10px; height:10px; border-radius:50%;
  background:linear-gradient(135deg, var(--lav), var(--coral));
  display:inline-block;
}
h1{
  margin:12px 0 10px;
  text-align:center;
  font-size: clamp(30px, 4vw, 44px);
  line-height:1.06;
  letter-spacing:-.02em;
}
.lead{
  text-align:center;
  font-size: clamp(16px, 1.2vw, 18px);
  color:var(--muted);
  margin-bottom:14px;
}
.hero-points{
  display:grid; gap:10px;
  margin:16px 0 0;
}
.point{
  display:flex; gap:10px; align-items:flex-start;
  padding:12px 12px;
  border-radius: 16px;
  border:1px solid rgba(15,23,42,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.72));
}
.point svg{width:20px; height:20px; margin-top:2px; color:var(--lav)}
.point b{display:block; margin-bottom:2px}
.point span{color:var(--muted)}

.hero-media{
  position:relative;
  min-height: 420px;
}
.hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero-media::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(600px 400px at 25% 20%, rgba(183,166,255,.18), transparent 55%),
              radial-gradient(520px 360px at 85% 25%, rgba(255,183,214,.18), transparent 55%),
              linear-gradient(180deg, rgba(255,255,255,.0), rgba(255,255,255,.10));
  pointer-events:none;
}

.section{
  margin-top:28px;
}
.section h1{margin:0 0 10px; text-align:center;}
.section h2{
  margin:0 0 10px;
  text-align:center;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing:-.01em;
}
.section .sub{text-align:center;color:var(--muted); margin-bottom:16px}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.card{
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.88);
  border-radius: var(--radius2);
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
  padding:16px;
  overflow:hidden;
}
.card h3{margin:0 0 8px; font-size:18px; text-align:center}
.card p{color:var(--muted); margin:0}
.card .meta{margin-top:10px; display:flex; gap:10px; flex-wrap:wrap}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.76);
  color:var(--muted);
  font-weight:650;
  min-height:var(--tap);
}
.pill svg{width:18px; height:18px; color:var(--lav)}
.pill:focus-visible{outline:none; box-shadow:var(--focus)}
.pill:hover{background:rgba(123,97,255,.10); color:var(--ink)}

.cta-row{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top:14px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:var(--tap);
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.88);
  font-weight:780;
  cursor:pointer;
}
.btn.primary{
  border-color: rgba(123,97,255,.30);
  background: linear-gradient(135deg, rgba(123,97,255,.16), rgba(255,183,214,.16));
}
.btn:hover{transform: translateY(-1px)}
.btn:focus-visible{outline:none; box-shadow:var(--focus)}

.inline-form{
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.90);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding:16px;
}
.inline-form h3{margin:0 0 8px}
.form-shell{
  border:1px dashed rgba(15,23,42,.18);
  border-radius: 16px;
  padding:12px;
  min-height: 260px; /* reserve space to avoid CLS */
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:var(--muted);
}
.form-shell[data-loaded="1"]{
  border-style:solid;
  padding:0;
  overflow:hidden;
  align-items:stretch;
  justify-content:stretch;
}

details{
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.88);
  border-radius: 18px;
  padding:12px 14px;
}
details + details{margin-top:10px}
summary{
  cursor:pointer;
  font-weight:780;
  min-height:var(--tap);
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
}
summary::-webkit-details-marker{display:none}
summary:focus-visible{outline:none; box-shadow:var(--focus); border-radius:14px; padding:6px}
.details-body{color:var(--muted); padding-top:8px}

footer{
  border-top:1px solid rgba(15,23,42,.08);
  padding:26px 0 88px; /* room for floating buttons on mobile */
  background:rgba(255,255,255,.55);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap:16px;
}
.footer-title{font-weight:850; margin-bottom:8px}
.footer-links a{
  display:inline-flex; min-height:var(--tap);
  align-items:center; padding:8px 10px; margin:-2px 0;
  border-radius:12px; color:var(--muted);
}
.footer-links a:hover{background:rgba(123,97,255,.10); color:var(--ink)}
.footer-links a:focus-visible{outline:none; box-shadow:var(--focus)}
.footer-note{color:var(--muted); max-width:44ch}
.footer-bottom{
  margin-top:14px;
  display:flex; gap:10px; flex-wrap:wrap;
  align-items:center; justify-content:flex-start;
  color:var(--muted2);
}
.footer-bottom .mini{display:flex; gap:10px; flex-wrap:wrap; align-items:center}

.fab{
  position:fixed; z-index:60;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
  border-radius:999px;
  min-height:var(--tap);
  padding:10px 12px;
  display:inline-flex; gap:10px; align-items:center;
  font-weight:850;
}
.fab svg{width:18px; height:18px; color:var(--lav)}
.fab:focus-visible{outline:none; box-shadow:var(--focus)}
.fab:hover{transform: translateY(-1px)}
.fab.contact{left:14px; bottom:14px}
.fab.call{left:50%; transform:translateX(-50%); bottom:14px; display:none}

@media (max-width: 980px){
  .nav{display:none}
  .menu-btn{display:inline-flex}
  .mobile-nav{display:none}
  .mobile-nav[data-open="1"]{display:block}
  .hero{grid-template-columns: 1fr; }
  .hero .kicker, .hero h1, .hero p{ text-align:center }
  .cta-row{ justify-content:center }
  .chips{ justify-content:center }

  .hero-media{min-height: 320px}
  .grid-3{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
}
@media (max-width: 680px){
  .fab.call{display:inline-flex}
  footer{padding-bottom:108px}
}

.modal{
  position:fixed; inset:0;
  display:none;
  align-items:flex-end;
  justify-content:center;
  background:rgba(15,23,42,.40);
  z-index:80;
  padding:14px;
}
.modal[aria-hidden="false"]{display:flex}
.modal-card{
  width:min(720px, 100%);
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modal-head{
  display:flex; align-items:center; justify-content:flex-start;
  padding:14px 14px;
  border-bottom:1px solid rgba(15,23,42,.08);
}
.modal-head b{font-size:16px}
.icon-btn{
  width:var(--tap); height:var(--tap);
  border-radius:14px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.85);
  display:inline-flex; align-items:center; justify-content:center;
}
.icon-btn:focus-visible{outline:none; box-shadow:var(--focus)}
.modal-body{padding:14px}
.modal-body .form-shell{min-height: 320px}

.banner{
  position:fixed; left:14px; right:14px; bottom:78px;
  z-index:70;
  display:none;
}
.banner[data-open="1"]{display:block}
.banner-card{
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
  border-radius: 18px;
  padding:12px 12px;
  display:flex;
  gap:10px;
  align-items:flex-start;
  justify-content:flex-start;
}
.banner-card p{margin:0; color:var(--muted)}
.banner-actions{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.banner-actions .btn{min-height:42px}
.banner-actions .btn.primary{background:linear-gradient(135deg, rgba(123,97,255,.18), rgba(255,183,214,.18))}
@media (max-width: 680px){
  .banner{bottom:122px}
  .banner-card{flex-direction:column}
  .banner-actions{justify-content:flex-start}
}

/* Subtle reveal: never hides content if JS is unavailable */
.reveal{opacity:1; transform:none}
html[data-js="1"] .reveal{
  transition: opacity .45s ease, transform .45s ease;
}
html[data-js="1"] .reveal.is-visible{
  opacity:1; transform:none;
}
@media (prefers-reduced-motion: reduce){
  html[data-js="1"] .reveal{opacity:1; transform:none; transition:none}
}


/* --- V2 fixes: mobile nav icons + HubSpot iframe sizing --- */
.mobile-panel svg{width:18px;height:18px;flex:0 0 auto}
.mobile-panel a, .mobile-panel button{gap:10px}
.form-shell iframe{width:100% !important; max-width:100% !important}
.form-shell .hs-form{max-width:100%}
@media (max-width: 720px){
  .hero h1{text-align:center}
  .hero .kicker, .hero p.lead{text-align:center}
  .cta-row{justify-content:center}
}


#contact{scroll-margin-top: 96px}
