:root{
  --brand-blue:#1f86c7;
  --brand-green:#34b34a;
  --brand-dark:#0b1220;
  --text:#142035;
  --muted:#5b6b84;
  --bg:#f6f8fb;
  --card:#ffffff;
  --border:#e4ecf6;

  --radius:18px;
  --shadow:0 12px 28px rgba(12, 22, 38, .08);
  --max:1200px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
  -webkit-text-size-adjust: 100%;
}

/* Mobile tap comfort */
a, button, input, select, textarea{ -webkit-tap-highlight-color: transparent }
.btn, .nav a{ touch-action: manipulation }

img{max-width:100%; height:auto}
a{color:inherit}
p{margin:0 0 12px}
h1,h2,h3{line-height:1.15; margin:0 0 10px; letter-spacing:-.02em}
h1{font-size:clamp(28px, 3.6vw, 44px)}
h2{font-size:clamp(22px, 2.2vw, 30px)}
h3{font-size:18px}

.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.section{padding:56px 0}
.section.tight{padding:32px 0}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:999px;
  border:1px solid rgba(31,134,199,.25);
  background:rgba(31,134,199,.08);
  color:#0b3a60;
  font-weight:700;
  font-size:13px;
}

/* Header (pro) */
.site-header{
  position:sticky;
  top:0;
  z-index:70;
  backdrop-filter:saturate(180%) blur(12px);
  background:rgba(246,248,251,.76);
  border-bottom:1px solid rgba(228,236,246,.85);
  transition: background .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.site-header.scrolled{
  background:rgba(246,248,251,.94);
  box-shadow:0 14px 30px rgba(12, 22, 38, .10);
  border-bottom:1px solid rgba(228,236,246,1);
}

.header-inner{
  display:flex;
  align-items:center;
  gap:14px;
  padding:12px 0;
  position:relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  flex:0 0 auto;
}
.brand img{
  width:128px;
  max-width:40vw;
  display:block;
  transition: transform .18s ease;
}
.site-header.scrolled .brand img{ transform: scale(.99); }

.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:2px;
  margin-left:auto;
  margin-right:auto;
  padding:5px;
  flex-wrap:wrap;
  overflow:visible;
  border-radius:999px;
  background:rgba(255,255,255,.65);
  border:1px solid rgba(228,236,246,.92);
  box-shadow:0 10px 24px rgba(12,22,38,.06);
}
.nav::-webkit-scrollbar{display:none}
.nav > a,
.nav .dropdown > a{
  padding:8px 10px;
  border-radius:999px;
  text-decoration:none;
  color:var(--muted);
  font-weight:850;
  font-size:13px;
  border:1px solid transparent;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
  white-space:nowrap;
  flex:0 0 auto;
}
.nav > a:hover,
.nav .dropdown > a:hover,
.nav .dropdown:hover > a,
.nav .dropdown:focus-within > a{
  background:rgba(31,134,199,.10);
  border-color:rgba(31,134,199,.12);
  color:var(--text);
}
.nav > a.active,
.nav .dropdown > a.active{
  background:linear-gradient(135deg, rgba(31,134,199,.18), rgba(52,179,74,.12));
  border-color:rgba(31,134,199,.20);
  color:var(--text);
}

/* Dropdown (Nos produits) */
.nav .dropdown{
  position:relative;
  display:flex;
  align-items:center;
  flex:0 0 auto;
}
.nav .dropdown > a{
  position:relative;
  padding-right:26px;
}
.nav .dropdown > a::after{
  content:"▾";
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  font-size:12px;
  opacity:.7;
}
.nav .dropdown-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:240px;
  padding:8px;
  border-radius:16px;
  background:rgba(255,255,255,.98);
  border:1px solid rgba(228,236,246,.95);
  box-shadow:0 18px 40px rgba(12,22,38,.14);
  z-index:60;
  display:none;
}
.nav .dropdown.open .dropdown-menu,
.nav .dropdown:hover .dropdown-menu,
.nav .dropdown:focus-within .dropdown-menu{
  display:block;
}
.nav .dropdown-menu a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  text-decoration:none;
  color:var(--text);
  font-weight:800;
  font-size:13.5px;
  white-space:nowrap;
}
.nav .dropdown-menu a:hover{
  background:rgba(31,134,199,.10);
}
.nav .dropdown-menu a.active{
  background:linear-gradient(135deg, rgba(31,134,199,.18), rgba(52,179,74,.12));
  border:1px solid rgba(31,134,199,.16);
}


.header-cta{
  display:flex;
  gap:10px;
  align-items:center;
  flex:0 0 auto;
  justify-content:flex-end;
}

.header-phone{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.75);
  border:1px solid rgba(228,236,246,.92);
  box-shadow:0 10px 24px rgba(12,22,38,.06);
  text-decoration:none;
  color:var(--text);
  white-space:nowrap;
}
.header-phone:hover{ background:rgba(255,255,255,.92); }

.phone-ico{
  width:36px;
  height:36px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(31,134,199,.22), rgba(52,179,74,.18));
  border:1px solid rgba(31,134,199,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  flex:0 0 auto;
}
.phone-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.phone-label{
  font-size:11px;
  color:var(--muted);
  font-weight:850;
}
.phone-number{
  font-size:13px;
  font-weight:950;
  letter-spacing:.01em;
}

.burger{
  display:none;
  border:1px solid rgba(228,236,246,.92);
  background:rgba(255,255,255,.82);
  border-radius:14px;
  padding:10px 12px;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(12,22,38,.06);
}
.burger span{
  display:block;
  width:18px;
  height:2px;
  background:var(--text);
  margin:4px 0;
  border-radius:2px;
}


@media (max-width: 1200px){
  .phone-text{ display:none; }
  .header-phone{ padding:0; width:44px; height:44px; justify-content:center; }
  .phone-ico{ width:44px; height:44px; border-radius:16px; }
}

@media (max-width: 900px){
  .header-inner{ padding:10px 0; }
  .nav{
    display:none;
    position:absolute;
    top: calc(100% + 10px);
    left:0;
    right:0;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    margin:0;
    padding:12px;
    border-radius:18px;
    background:rgba(255,255,255,.96);
    border:1px solid rgba(228,236,246,.92);
    box-shadow:0 18px 40px rgba(12,22,38,.14);
  }
  .nav.open{ display:flex; }
  .nav > a,
  .nav .dropdown > a{
    border-radius:14px;
    padding:12px 12px;
    font-size:14px;
  }
  .nav .dropdown{ flex-direction:column; align-items:stretch; }
  .nav .dropdown > a{ width:100%; padding-right:12px; }
  .nav .dropdown > a::after{ right:12px; }
  .nav .dropdown-menu{
    position:static;
    margin-top:6px;
    display:none;
    box-shadow:none;
    background:rgba(246,248,251,.65);
    border:1px solid rgba(228,236,246,.92);
  }
  .nav .dropdown.open .dropdown-menu{ display:block; }
  .nav .dropdown-menu a{
    font-size:14px;
    padding:10px 12px;
  }

  .burger{ display:inline-block; }
  .phone-text{ display:none; }
  .header-phone{ padding:0; width:44px; height:44px; justify-content:center; }
  .phone-ico{ width:44px; height:44px; border-radius:16px; }
}

@media (max-width: 520px){
  .brand img{ width:120px; }
  .header-cta{ gap:8px; }
  .header-cta .btn.small{ padding:10px 12px; }
}


/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px;
  border-radius:14px;
  text-decoration:none;
  font-weight:800;
  font-size:14px;
  border:1px solid transparent;
  cursor:pointer;
  white-space:nowrap;
}
.btn.primary{
  background:linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  color:#fff;
  box-shadow:0 10px 22px rgba(31,134,199,.22);
}
.btn.primary:hover{filter:brightness(1.03)}
.btn.outline{
  background:#fff;
  border:1px solid var(--border);
  color:var(--text);
}
.btn.outline:hover{background:#fbfdff}
.btn.whatsapp{
  background:linear-gradient(135deg, #29d366, #19b14a);
  border:1px solid rgba(25,177,74,.32);
  color:#fff;
  box-shadow:0 10px 22px rgba(25,177,74,.18);
}
.btn.whatsapp:hover{filter:brightness(1.03)}
.btn.whatsapp img,
.btn.whatsapp svg{
  width:18px;
  height:18px;
  color:#fff;
}
.btn.small{padding:10px 12px; border-radius:12px; font-size:13px}

/* Hero */
.hero{
  position:relative;
  overflow:hidden;
  background: radial-gradient(1200px 420px at 10% 0%, rgba(31,134,199,.22), transparent 60%),
              radial-gradient(900px 380px at 85% 10%, rgba(52,179,74,.22), transparent 55%);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:stretch;
}
.hero-left{
  padding:26px;
}
.hero-right{
  padding:22px;
}
.hero p.lead{
  color:#2b3a55;
  font-size:16px;
  margin-bottom:16px;
}
.hero-cta{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}
.kpis{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}
.kpi{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(52,179,74,.25);
  background:rgba(52,179,74,.08);
  font-weight:900;
  color:#0f4d1f;
}
@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
  .brand img{width:150px}
}


/* Product pages */
.product-hero .product-hero-media img{height:320px}
@media (max-width: 900px){
  .product-hero .product-hero-media img{height:240px}
}


/* Grids */
.grid-3{display:grid; grid-template-columns:repeat(3, 1fr); gap:12px}
.grid-2{display:grid; grid-template-columns:repeat(2, 1fr); gap:12px}
@media (max-width: 900px){
  .grid-3, .grid-2{grid-template-columns:1fr}
}

/* Trust band */
.trust-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:12px;
}
.trust-item{
  padding:16px;
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.trust-icon{
  width:42px; height:42px;
  border-radius:14px;
  background:rgba(31,134,199,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  flex:0 0 auto;
}
.trust-item b{display:block}
.trust-item .small{margin:6px 0 0}

@media (max-width: 900px){
  .trust-grid{grid-template-columns:repeat(2, 1fr)}
}
/* Guide (blog) */
.guide-note{
  margin:14px 0;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(31,134,199,.22);
  background:rgba(31,134,199,.06);
  color:#0b3a60;
  font-weight:800;
}
.guide-note .small{font-weight:700}
.guide-note a{color:inherit; text-decoration:underline}

.step-box{
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(228,236,246,.9);
  background:rgba(246,248,251,.78);
}
.step-box b{display:block; margin-bottom:6px}

.privacy-note{
  margin:8px 0 0;
  color:var(--muted);
}

@media (max-width: 520px){
  .trust-grid{grid-template-columns:1fr}
}



.photo-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:12px}
.photo-card{
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--border);
  background:#fff;
  box-shadow:var(--shadow);
}
.photo-card img{display:block; width:100%; height:240px; object-fit:cover}
@media (max-width: 900px){
  .photo-grid{grid-template-columns:1fr}
  .photo-card img{height:220px}
}


/* Photo cards — caption (clean + consistent) */
.photo-card .caption{
  padding:14px 14px 16px;
}
.photo-card .caption > :last-child{ margin-bottom:0; }
.photo-card .caption h2,
.photo-card .caption h3{ margin:0 0 6px; }
.photo-card .caption p{ margin:0 0 10px; }

/* Checklist (used on product pages) */
.checklist{
  list-style:none;
  padding:0;
  margin:12px 0 0;
  display:grid;
  gap:8px;
}
.checklist li{
  position:relative;
  padding-left:28px;
  color:var(--text);
}
.checklist li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:2px;
  width:20px;
  height:20px;
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:1000;
  background:rgba(52,179,74,.14);
  border:1px solid rgba(52,179,74,.24);
  color:#0f4d1f;
  font-size:12px;
  line-height:1;
}
.checklist.compact{ gap:6px; }
.checklist.compact li{ padding-left:26px; font-size:13.5px; }
.checklist.compact li::before{ width:18px; height:18px; }

/* Small utilities to avoid inline styles */
.stack{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.stack.start{ align-items:flex-start; }
.mt-12{ margin-top:12px; }
.mt-16{ margin-top:16px; }
.mt-24{ margin-top:24px; }
.card.pad{ padding:16px; }
.card.pad-lg{ padding:18px; }
.card.pad-xl{ padding:22px; }

.callout{
  border:1px solid rgba(31,134,199,.18);
  background:linear-gradient(135deg, rgba(31,134,199,.08), rgba(52,179,74,.06));
}

.feature{
  padding:16px;
}
.feature b{display:block; margin-bottom:6px}
.muted{color:var(--muted)}
.hr{height:1px; background:var(--border); margin:18px 0}

/* Forms */
form{display:grid; gap:12px}
label{font-size:13px; font-weight:800; color:#2b3a55}
input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  font:inherit;
}
textarea{min-height:110px; resize:vertical}
.help{font-size:12px; color:var(--muted)}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:12px}
@media (max-width: 900px){.form-row{grid-template-columns:1fr}}

.checkline{
  display:flex; align-items:flex-start; gap:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fbfdff;
}
.checkline input{width:auto; margin-top:2px}
.checkline a{color:var(--brand-blue); text-decoration:underline}

.notice{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(31,134,199,.25);
  background:rgba(31,134,199,.08);
  color:#0b3a60;
  font-weight:700;
  display:none;
}
.notice.show{display:block}

/* Multi-step form (Devis) */
.stepper{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 14px;
}
.stepper .step{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:900;
  color:var(--muted);
  font-size:13px;
}
.stepper .bubble{
  width:28px;
  height:28px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(31,134,199,.12);
  color:var(--brand-blue);
  font-weight:900;
}
.stepper .step.active{color:var(--text)}
.stepper .step.active .bubble{
  background:var(--brand-blue);
  color:#fff;
}
.stepper .divider{
  flex:1;
  height:2px;
  background:rgba(228,236,246,.9);
  border-radius:2px;
}
.form-step[hidden]{display:none !important}
.form-nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}


/* Partners */
.partner-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.partner{
  padding:14px;
  display:flex; align-items:center; justify-content:center;
  min-height:88px;
}
.partner img{max-height:60px; object-fit:contain; filter:saturate(1.05)}
/* Subtle hover animation (logos) */
.partner{
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.partner img{transition: transform .18s ease}
.partner:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(12, 22, 38, .10);
}
.partner:hover img{transform: scale(1.03)}

@media (max-width: 900px){
  .partner-grid{grid-template-columns: repeat(2, 1fr)}
}

/* Testimonials */
.testimonial{
  padding:16px;
}
.stars{letter-spacing:1px; color:#f3b300; font-size:14px; margin-bottom:6px}
.person{font-weight:900; margin-top:10px}
.small{font-size:12px; color:var(--muted)}


/* Footer (premium) */
.site-footer{
  padding:52px 0 28px;
  border-top:0;
  color:rgba(255,255,255,.92);
  background:
    radial-gradient(1200px circle at 15% -20%, rgba(31,134,199,.35), transparent 55%),
    radial-gradient(900px circle at 85% 0%, rgba(52,179,74,.20), transparent 60%),
    linear-gradient(180deg, #0b1220 0%, #070d18 100%);
}
.site-footer .muted,
.site-footer .small{ color:rgba(255,255,255,.72); }
.site-footer a{ color:rgba(255,255,255,.86); text-decoration:none; }
.site-footer a:hover{ color:#fff; text-decoration:underline; }

.footer-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  box-shadow: 0 28px 60px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
}
.footer-cta-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:900;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,.80);
  margin-bottom:6px;
}
.footer-cta-title{
  font-weight:1000;
  font-size: clamp(16px, 2.0vw, 22px);
  letter-spacing:-.03em;
  margin:0 0 6px;
}
.footer-cta-sub{
  margin:0;
  color:rgba(255,255,255,.72);
  font-size:13px;
}
.footer-cta-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.site-footer .btn.outline{
  background:transparent;
  border:1px solid rgba(255,255,255,.22);
  color:#fff;
}
.site-footer .btn.outline:hover{
  background:rgba(255,255,255,.08);
  filter:none;
}
.site-footer .btn.primary{ box-shadow: 0 14px 30px rgba(31,134,199,.28); }
.site-footer .btn.whatsapp{ box-shadow: 0 14px 30px rgba(25,177,74,.22); }

.footer-grid{
  display:grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr 0.9fr;
  gap:16px;
  margin-top:18px;
}
.footer-col{
  padding:16px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(8px);
}
.footer-logo{
  display:inline-flex;
  align-items:center;
  padding:0;
  border-radius:0;
  background:transparent;
  border:0;
  margin-bottom:12px;
}
.footer-logo img{
  width:150px;
  display:block;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.38));
}
.footer-text{ margin:0 0 12px; color:rgba(255,255,255,.78); }
.footer-title{
  font-weight:950;
  letter-spacing:.02em;
  margin-bottom:10px;
}
.footer-links a{
  display:block;
  padding:8px 0;
  color:rgba(255,255,255,.78);
  font-weight:750;
}
.footer-links a:hover{ color:#fff; text-decoration:none; }

.footer-contact{
  display:grid;
  gap:10px;
  margin-top:12px;
}
.footer-item{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:rgba(255,255,255,.82);
  font-size:14px;
}
.footer-ico{
  width:32px;
  height:32px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  flex:0 0 auto;
  margin-top:2px;
}
.footer-orias{ margin-top:12px; color:rgba(255,255,255,.70); }
.footer-divider{
  height:1px;
  background:rgba(255,255,255,.12);
  margin-top:14px;
}
.footer-legal{
  margin-top:12px;
  color:rgba(255,255,255,.68);
}

.footer-bottom{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  color:rgba(255,255,255,.70);
  font-size:13px;
}
.footer-bottom-links{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.footer-bottom-links a{
  color:rgba(255,255,255,.72);
  font-weight:800;
  text-decoration:none;
}
.footer-bottom-links a:hover{ color:#fff; text-decoration:underline; }

@media (max-width: 1100px){
  .footer-cta{ flex-direction:column; align-items:flex-start; }
  .footer-cta-actions{ justify-content:flex-start; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px){
  .footer-grid{ grid-template-columns: 1fr; }
}



/* Floating Call */
.float-call{
  position:fixed;
  right:18px; bottom: calc(88px + env(safe-area-inset-bottom));
  width:56px; height:56px;
  border-radius:18px;
  background:linear-gradient(135deg, var(--brand-blue), #0b3a60);
  box-shadow:0 18px 34px rgba(31,134,199,.28);
  display:flex; align-items:center; justify-content:center;
  color:#fff;
  z-index:60;
  text-decoration:none;
  font-size:24px;
}
.float-call:hover{filter:brightness(1.03)}
.float-call .tip{
  position:absolute;
  right:68px;
  background:#111827;
  color:#fff;
  padding:8px 10px;
  border-radius:12px;
  font-size:12px;
  font-weight:800;
  opacity:0;
  transform:translateY(6px);
  transition:.18s ease;
  white-space:nowrap;
}
.float-call:hover .tip{opacity:1; transform:translateY(0)}

/* Floating WhatsApp */
.float-whatsapp{
  position:fixed;
  right:18px; bottom: calc(18px + env(safe-area-inset-bottom));
  width:56px; height:56px;
  border-radius:18px;
  background:linear-gradient(135deg, #29d366, #19b14a);
  box-shadow:0 18px 34px rgba(25,177,74,.28);
  display:flex; align-items:center; justify-content:center;
  color:#fff;
  z-index:60;
  text-decoration:none;
}
.float-whatsapp svg{width:26px; height:26px; color:#fff}
.float-whatsapp:hover{filter:brightness(1.03)}
.float-whatsapp .tip{
  position:absolute;
  right:68px;
  background:#111827;
  color:#fff;
  padding:8px 10px;
  border-radius:12px;
  font-size:12px;
  font-weight:800;
  opacity:0;
  transform:translateY(6px);
  transition:.18s ease;
  white-space:nowrap;
}
.float-whatsapp:hover .tip{opacity:1; transform:translateY(0)}

/* Floating Devis (Blog uniquement) */
.float-devis{
  position:fixed;
  right:18px; bottom: calc(18px + env(safe-area-inset-bottom));
  height:56px;
  padding:0 14px 0 10px;
  border-radius:18px;
  background:var(--brand-blue);
  background:linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  box-shadow:0 18px 34px rgba(31,134,199,.18);
  display:flex; align-items:center; gap:10px;
  color:#fff;
  z-index:60;
  text-decoration:none;
  font-weight:900;
  letter-spacing:-.01em;
  transform:translateY(0);
  transition:transform .16s ease, filter .16s ease;
}
.float-devis .icon{
  width:40px; height:40px;
  border-radius:16px;
  background:rgba(255,255,255,.16);
  display:flex; align-items:center; justify-content:center;
  font-size:18px;
  line-height:1;
}
.float-devis .label{white-space:nowrap}
.float-devis .label-short{display:none}
.float-devis:hover{filter:brightness(1.03); transform:translateY(-1px)}
@media(max-width:520px){
  .float-devis{padding:0 12px 0 10px}
  .float-devis .label{display:none}
  .float-devis .label-short{display:inline}
}

/* Evite que les boutons flottants masquent la fin de l'article sur le blog */
.blog-cta main{padding-bottom:170px}
@media(max-width:900px){
  .blog-cta main{padding-bottom:190px}
}


/* Map */
.map{
  border-radius:18px;
  border:1px solid var(--border);
  overflow:hidden;
  min-height:320px;
}
.map iframe{width:100%; height:320px; border:0}


/* Lead forms */
.hp-field{position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden}
.btn:disabled{opacity:.65; cursor:not-allowed}


/* FAQ */
.faq details{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px 14px;
  margin:10px 0;
  box-shadow:var(--shadow);
}
.faq summary{
  cursor:pointer;
  font-weight:800;
  list-style:none;
}
.faq summary::-webkit-details-marker{display:none}
.faq details[open] summary{margin-bottom:8px}

/* Phone-first fine tuning */
@media (max-width: 520px){
  .container{padding:0 14px}
  .section{padding:44px 0}
  .section.tight{padding:26px 0}

  .header-inner{gap:10px}
  .header-cta{gap:8px; flex-wrap:wrap; justify-content:flex-end}
  .btn.small{padding:10px 10px}

  /* Prevent iOS zoom when focusing fields */
  input, select, textarea{font-size:16px}

  /* Extra room so floating buttons don't cover content */
  main{padding-bottom:120px}

  .hero-left{padding:18px}
  .hero-right{padding:18px}

  .float-call, .float-whatsapp{right:14px; width:54px; height:54px}
  .float-call{bottom: calc(82px + env(safe-area-inset-bottom))}
  .float-whatsapp{bottom: calc(14px + env(safe-area-inset-bottom))}
  .float-call .tip, .float-whatsapp .tip{display:none}
}

/* Landing page (conversion) */
.landing:not(.landing-nav) .nav,
.landing:not(.landing-nav) .burger{display:none !important}

.landing-hero-images{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.landing-img{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--border);
  background:#fff;
  box-shadow:var(--shadow);
}
.landing-img img{display:block; width:100%; height:220px; object-fit:cover}
.landing-img-label{
  position:absolute;
  left:12px;
  bottom:12px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  background:rgba(11,18,32,.60);
  color:#fff;
  backdrop-filter: blur(6px);
}

/* Sticky boutons (mobile) */
.sticky-bar{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:70;
  background:rgba(246,248,251,.92);
  backdrop-filter:saturate(180%) blur(10px);
  border-top:1px solid rgba(228,236,246,.9);
  padding:10px 14px calc(10px + env(safe-area-inset-bottom));
  display:none;
}
.sticky-bar .inner{max-width:var(--max); margin:0 auto; display:flex; gap:10px}
.sticky-bar .inner .btn{flex:1}

@media (max-width: 900px){
  .landing-hero-images{grid-template-columns:1fr}
  .landing-img img{height:220px}
}

@media (max-width: 520px){
  .landing .sticky-bar{display:block}
  /* Extra room so sticky bar + floating buttons don't cover content */
  .landing main{padding-bottom:170px}

  /* Move floating buttons above the sticky bar on landing pages */
  .landing .float-whatsapp{bottom: calc(78px + env(safe-area-inset-bottom))}
  .landing .float-call{bottom: calc(146px + env(safe-area-inset-bottom))}
}

/* ==========================
   Blog (RCS Assurance)
   ========================== */
.blog-toolbar{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  margin:14px 0 8px;
}
.blog-search{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.blog-search input{
  flex:1;
  min-width:220px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
}
.tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(31,134,199,.25);
  background:rgba(31,134,199,.06);
  color:#0b3a60;
  font-weight:800;
  font-size:13px;
  cursor:pointer;
  user-select:none;
}
.tag:hover{background:rgba(31,134,199,.10)}
.tag.active{background:rgba(31,134,199,.16)}

.blog-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
}
@media (max-width: 900px){
  .blog-grid{grid-template-columns:1fr}
}

.blog-card{
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.blog-card a{text-decoration:none; color:inherit}
.blog-card-media img{
  display:block;
  width:100%;
  height:190px;
  object-fit:cover;
}
.blog-card-body{
  padding:16px;
}
.blog-meta{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  color:var(--muted);
  font-size:13px;
}
.blog-meta time{white-space:nowrap}
.blog-card h3{margin:10px 0 8px}
.blog-card p{margin:0 0 12px; color:var(--muted)}
.blog-card .blog-points{
  margin:0 0 12px;
  padding-left:18px;
  color:var(--muted);
}
.blog-card .blog-points li{ margin:4px 0; }

.blog-card-cta{display:flex; gap:10px; flex-wrap:wrap; margin-top:auto}

.blog-empty{
  padding:22px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.article-layout{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap:16px;
  align-items:start;
}
@media (max-width: 900px){
  .article-layout{grid-template-columns:1fr}
}

.article-prose{
  padding:24px;
}
.article-prose h1{margin-top:0}
.article-prose h2{margin-top:26px}
.article-prose h3{margin-top:18px}
.article-prose ul{padding-left:18px}
.article-prose a{color:var(--brand-blue)}
.article-prose a:hover{text-decoration:underline}

.toc{
  position:sticky;
  top:92px;
  padding:16px;
}
.toc b{display:block; margin-bottom:8px}
.toc a{
  display:block;
  padding:6px 0;
  color:var(--muted);
  text-decoration:none;
  font-weight:700;
  font-size:13px;
}
.toc a:hover{color:var(--text); text-decoration:underline}

.callout{
  padding:16px;
  border-radius:16px;
  border:1px solid rgba(52,179,74,.25);
  background:rgba(52,179,74,.08);
}
.callout .btn{margin-top:10px}

/* Newsletter */
.newsletter{
  position:relative;
  overflow:hidden;
  padding:0;
  margin-top:28px;
  border:1px solid rgba(31,134,199,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.96), #fff 60%);
}

.newsletter-grid{
  display:grid;
  grid-template-columns: .92fr 1.08fr;
  gap:0;
  align-items:stretch;
}

@media (max-width: 900px){
  .newsletter-grid{grid-template-columns:1fr}
}

.newsletter-media{
  position:relative;
  min-height:320px;
  background:#0b3a60;
}

.newsletter-media picture,
.newsletter-media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.newsletter-media img{ transition: transform .55s ease; }
@media (prefers-reduced-motion: no-preference){
  .newsletter:hover .newsletter-media img{ transform: scale(1.02); }
}

.newsletter-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg, rgba(11,58,96,.78), rgba(11,58,96,.32) 55%, rgba(11,58,96,.06)),
    linear-gradient(0deg, rgba(12,22,38,.58), transparent 55%);
}

.newsletter-media-overlay{
  position:absolute;
  inset:auto 16px 16px 16px;
  z-index:1;
  color:#fff;
}

.newsletter-media-overlay .badge{
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
  color:#fff;
}

.newsletter-media-title{
  margin:10px 0 6px;
  font-weight:900;
  font-size:20px;
  line-height:1.15;
}

.newsletter-media-sub{
  margin:0;
  color: rgba(255,255,255,.92);
  font-weight:700;
  font-size:13px;
}

.newsletter-content{ padding:22px; }
.newsletter-content .badge{ margin-bottom:10px; }
.newsletter h3{ font-size:20px; margin:0 0 8px; }

.newsletter-points{
  margin:10px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}
.newsletter-points li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-weight:800;
  color:#2b3a55;
}
.newsletter-points li:before{
  content:"✓";
  width:20px;
  height:20px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(52,179,74,.14);
  border:1px solid rgba(52,179,74,.25);
  color:#136b22;
  font-weight:900;
  margin-top:1px;
  flex:0 0 20px;
}

.newsletter-form{
  display:grid;
  gap:10px;
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(228,236,246,.92);
  background: rgba(246,248,251,.66);
}
.newsletter-form label{font-weight:900; font-size:13px}

.nl-input-row{
  display:flex;
  gap:10px;
  align-items:stretch;
}
.nl-input-wrap{
  position:relative;
  flex:1;
}
.nl-input-ico{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  font-size:16px;
  opacity:.72;
  pointer-events:none;
}
.nl-input-row input[type="email"]{
  margin:0;
  width:100%;
  padding:14px 14px 14px 42px;
  border-radius:16px;
  border:1px solid rgba(31,134,199,.18);
  background:#fff;
  box-shadow:0 10px 20px rgba(12,22,38,.04);
}
.nl-input-row input[type="email"]::placeholder{ color: rgba(91,107,132,.85); }
.nl-input-row input[type="email"]:focus{
  outline:none;
  border-color:rgba(31,134,199,.45);
  box-shadow:0 0 0 4px rgba(31,134,199,.12), 0 10px 24px rgba(12,22,38,.06);
}
.nl-input-row .btn{ padding:14px 18px; border-radius:16px; white-space:nowrap; }

@media (max-width: 560px){
  .nl-input-row{ flex-direction:column; }
  .nl-input-row .btn{ width:100%; }
}

.newsletter .checkline{
  background: rgba(255,255,255,.8);
  border:1px solid rgba(228,236,246,.92);
}
.nl-fineprint{ margin-top:-2px; }
/* Parrainage floating button + modal (CSS only) */
.float-parrainage{
  position:fixed;
  right:18px;
  bottom: calc(158px + env(safe-area-inset-bottom));
  width:56px; height:56px;
  border-radius:18px;
  background:linear-gradient(135deg, #f6b12d, #cf7a00);
  box-shadow:0 18px 34px rgba(246,177,45,.30);
  display:flex; align-items:center; justify-content:center;
  color:#fff;
  z-index:60;
  text-decoration:none;
  font-size:24px;
}
.float-parrainage:hover{filter:brightness(1.03)}
.float-parrainage .tip{
  position:absolute;
  right:68px;
  background:#111827;
  color:#fff;
  padding:8px 10px;
  border-radius:12px;
  font-size:12px;
  font-weight:800;
  opacity:0;
  transform:translateY(6px);
  transition:.18s ease;
  white-space:nowrap;
}
.float-parrainage:hover .tip{opacity:1; transform:translateY(0)}

.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:120;
  padding:18px;
}
.modal:target{display:block}
.modal-overlay{
  position:absolute;
  inset:0;
  background:rgba(7,14,22,.55);
  backdrop-filter: blur(2px);
}
.modal-dialog{
  position:relative;
  max-width:560px;
  margin:8vh auto;
  background:#fff;
  border-radius:18px;
  border:1px solid var(--border);
  box-shadow:0 30px 80px rgba(0,0,0,.25);
  padding:20px;
}
.modal-dialog h2{margin:0 0 8px}
.modal-close{
  position:absolute;
  top:12px;
  right:14px;
  width:36px;
  height:36px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:var(--muted);
  border:1px solid var(--border);
  background:#fff;
  font-size:18px;
  line-height:1;
}
.modal-close:hover{color:var(--text); background:#fbfdff}

@media (max-width: 520px){
  .float-call, .float-whatsapp, .float-parrainage{right:14px; width:54px; height:54px}
  .float-parrainage{bottom: calc(146px + env(safe-area-inset-bottom))}
  /* Blog pages: extra room so 3 floating buttons don't cover content */
  .blog main{padding-bottom:170px}
}


/* ===== Blog : Sommaire ===== */
.sommaire-list{
  margin:12px 0 0;
  padding-left:18px;
}
.sommaire-list li{margin:10px 0; line-height:1.55}
.sommaire-list a{
  font-weight:900;
  color:var(--brand-blue);
  text-decoration:none;
}
.sommaire-list a:hover{text-decoration:underline}

/* ===== Témoignages ===== */
.testi-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:14px;
}
.testi-card{
  display:flex;
  gap:14px;
  padding:16px;
}
.testi-avatar{
  width:78px;
  height:78px;
  border-radius:18px;
  object-fit:cover;
  border:1px solid var(--border);
  flex:0 0 auto;
}
.testi-name{font-weight:900; margin:2px 0 0}
.testi-meta{font-size:13px; color:var(--muted); margin-top:2px}
.testi-stars{font-size:14px; letter-spacing:1px; margin-bottom:6px}
.testi-quote{margin:0}
.testi-quote p{margin:0 0 10px}
.testi-quote p:last-child{margin:0}
.testi-tags{display:flex; flex-wrap:wrap; gap:6px; margin-top:10px}
.testi-tags span{
  font-size:12px;
  padding:6px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  color:var(--muted);
  background:#fff;
}

@media (max-width: 920px){
  .testi-grid{grid-template-columns:1fr}
}


/* Performance indices (premium+) */
.perf{
  position:relative;
  overflow:hidden;
}
.perf::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px circle at 10% 10%, rgba(31,134,199,.16), transparent 55%),
    radial-gradient(900px circle at 85% 0%, rgba(52,179,74,.14), transparent 55%);
  pointer-events:none;
}
.perf .container{ position:relative; }

.perf-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px;
  align-items:stretch;
}

.perf-card{
  position:relative;
  overflow:hidden;
  padding:18px 78px 16px 18px;
  border:1px solid transparent;
  border-radius:22px;
  background:
    linear-gradient(rgba(255,255,255,.96), rgba(255,255,255,.92)) padding-box,
    linear-gradient(135deg, rgba(31,134,199,.40), rgba(52,179,74,.28)) border-box;
  backdrop-filter: blur(8px);
  transition: transform .18s ease, box-shadow .18s ease;
}

.perf-card > *{ position:relative; z-index:2; }

.perf-card::before{
  content:"";
  position:absolute;
  top:14px;
  right:14px;
  width:50px;
  height:50px;
  border-radius:18px;
  background:linear-gradient(135deg, rgba(31,134,199,.22), rgba(52,179,74,.16));
  border:1px solid rgba(31,134,199,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 14px 26px rgba(12, 22, 38, .10);
  z-index:1;
}
.perf-card::after{
  content:"";
  position:absolute;
  top:26px;
  right:30px;
  font-size:18px;
  z-index:2;
}
.perf-card:nth-child(1)::after{ content:"⭐"; }
.perf-card:nth-child(2)::after{ content:"⏱️"; }
.perf-card:nth-child(3)::after{ content:"💶"; }
.perf-card:nth-child(4)::after{ content:"🤝"; }

.perf-card:hover{
  transform: translateY(-4px);
  box-shadow:0 24px 55px rgba(12, 22, 38, .14);
}

.perf-value{
  font-size:clamp(30px, 2.5vw, 38px);
  font-weight:1000;
  letter-spacing:-.05em;
  line-height:1.05;
  color:var(--brand-blue);
  margin-bottom:6px;
}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .perf-value{
    background:linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    color:transparent;
  }
}

.perf-label{
  font-weight:950;
  font-size:16px;
  letter-spacing:-.01em;
  margin-top:2px;
}
.perf-desc{
  color:var(--muted);
  font-size:13px;
  margin-top:8px;
  line-height:1.45;
  max-width: 36ch;
}
.perf-note{ margin-top:14px; max-width:820px; }

@media (max-width: 900px){
  .perf-grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 520px){
  .perf-grid{ grid-template-columns:1fr; }
  .perf-card{ padding:16px 70px 14px 16px; }
  .perf-card::before{ top:12px; right:12px; }
  .perf-card::after{ top:24px; right:28px; }
}



/* Cookie banner (RGPD) */
.cookie-banner{
  position:fixed;
  inset:0;
  background:rgba(11,18,32,.55);
  display:none;
  align-items:flex-end;
  justify-content:center;
  padding:18px;
  z-index:9999;
}
.cookie-banner.show{ display:flex; }

.cookie-modal{
  width:min(760px, 100%);
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:18px;
}
.cookie-modal h3{ margin-top:0; }

.cookie-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}

.cookie-mini{
  position:fixed;
  left:18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index:9998;
  background:#fff;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  border-radius:14px;
  padding:10px 12px;
  font-weight:800;
  font-size:13px;
  cursor:pointer;
}
.cookie-mini:hover{ filter:brightness(1.02); }

@media (max-width: 520px){
  .cookie-mini{ left:12px; }
}


/* ==========================
   Visual polish (v29)
   ========================== */

html{
  scroll-behavior:smooth;
  scroll-padding-top: 94px;
}

body{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Accessible focus ring */
:focus-visible{
  outline: 3px solid rgba(31,134,199,.35);
  outline-offset: 3px;
}

/* Form fields: hover/focus premium */
input, select, textarea{
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
input:hover, select:hover, textarea:hover{
  border-color: rgba(31,134,199,.22);
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(31,134,199,.58);
  box-shadow: 0 0 0 4px rgba(31,134,199,.14);
  outline: none;
}

/* Buttons: micro-interactions */
.btn{
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}
@media (hover:hover){
  .btn:hover{ transform: translateY(-1px); }
  .btn:active{ transform: translateY(0px); }
}
.btn.outline:hover{ box-shadow: 0 10px 22px rgba(12,22,38,.06); }
.btn.primary:hover{ box-shadow: 0 14px 28px rgba(31,134,199,.24); }

/* Footer: logo transparent + WhatsApp button fix */
.site-footer .footer-logo{
  padding:0;
  background:transparent;
  border:0;
  border-radius:0;
  margin-bottom:12px;
}
.site-footer .footer-logo img{
  width:178px;
  display:block;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.38));
}

/* Footer boutons actions: align nicely (no weird wrap) */
.site-footer .footer-cta-actions{
  display:grid;
  gap:10px;
  justify-items:stretch;
  min-width: 280px;
}
.site-footer .footer-cta-actions .btn{
  width:100%;
  justify-content:center;
}
@media (max-width: 900px){
  .site-footer .footer-cta-actions{
    width:100%;
    min-width:0;
  }
}

/* WhatsApp boutons in footer: green background + white icon/text */
.site-footer .btn.whatsapp{
  background: linear-gradient(135deg, #29d366, #19b14a);
  border: 1px solid rgba(255,255,255,.18);
  color:#fff;
  box-shadow: 0 14px 30px rgba(25,177,74,.30);
}
.site-footer .btn.whatsapp:hover{
  background: linear-gradient(135deg, #2fe070, #1dc454);
  filter:none;
}
.site-footer .btn.whatsapp img{
  width:18px;
  height:18px;
  display:block;
}

/* Keep footer outline buttons clean */
.site-footer .btn.outline:hover{ box-shadow:none; }

/* Blog/articles: more "pro" readability */
.article-prose{
  line-height:1.75;
}
.article-prose p,
.article-prose li{
  max-width: 76ch;
}
.article-prose img{
  border-radius:18px;
  border:1px solid rgba(228,236,246,.9);
  box-shadow: 0 14px 32px rgba(12, 22, 38, .10);
}

/* Blog cards: subtle hover */
@media (hover:hover){
  .blog-card:hover{
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(12, 22, 38, .12);
  }
}

/* Footer social (bottom) */
.footer-social{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.footer-social a{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.86);
  font-weight:850;
  text-decoration:none;
}
.footer-social a:hover{
  background:rgba(255,255,255,.10);
  color:#fff;
}



/* ==========================
   Visual polish (v41) — pro cleanup (sans modifier le contenu)
   ========================== */

/* Slightly softer, more premium surfaces & shadows */
:root{
  --bg:#f4f7fb;
  --card:#ffffff;
  --border:#dfe8f4;

  /* Multi-layer shadows feel more "pro" than a single heavy shadow */
  --shadow: 0 1px 2px rgba(12,22,38,.06),
            0 12px 34px rgba(12,22,38,.08);
  --shadow-lg: 0 2px 6px rgba(12,22,38,.08),
               0 24px 60px rgba(12,22,38,.12);

  /* Slightly tighter radius = cleaner look */
  --radius:16px;
}

body{
  background:
    radial-gradient(1200px circle at 10% -10%, rgba(31,134,199,.11), transparent 58%),
    radial-gradient(1000px circle at 92% 0%, rgba(52,179,74,.10), transparent 58%),
    linear-gradient(180deg, #f8fbff 0%, #f4f7fb 50%, #f3f6fb 100%);
  line-height:1.6;
}

/* Better vertical rhythm */
.section{
  padding: clamp(44px, 5.5vw, 74px) 0;
}
.section.tight{
  padding: clamp(26px, 3.5vw, 46px) 0;
}


/* Subtle section striping (depth) */
main > section.section:not(.hero){
  position: relative;
}
main > section.section:not(.hero):nth-of-type(even){
  background: rgba(255,255,255,.42);
  border-top: 1px solid rgba(223,232,244,.70);
  border-bottom: 1px solid rgba(223,232,244,.70);
}


/* Containers: a touch more breathing room on large screens */
.container{
  padding-left: clamp(16px, 2vw, 22px);
  padding-right: clamp(16px, 2vw, 22px);
}

/* Card surface refinement */
.card{
  border-radius: var(--radius);
  border: 1px solid rgba(223,232,244,.95);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.92));
  box-shadow: var(--shadow);
}



/* Hero cards: slight glass feel */
.hero .card{
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.88));
  backdrop-filter: blur(12px);
}
.hero-left{ padding: 28px; }
.hero-right{ padding: 24px; }


/* Crisp separators */
.hr{
  height:1px;
  background: linear-gradient(90deg,
    rgba(223,232,244,0),
    rgba(223,232,244,1),
    rgba(223,232,244,0)
  );
}

/* Links: modern underline style (keeps accessibility) */
a{
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(31,134,199,.28);
}
a:hover{
  text-decoration-color: rgba(31,134,199,.55);
}

/* Header + nav: a bit cleaner and more "glass" */
.site-header{
  background:rgba(248,251,255,.78);
}
.site-header.scrolled{
  background:rgba(248,251,255,.94);
}
.nav{
  background:rgba(255,255,255,.72);
  border:1px solid rgba(223,232,244,.92);
  box-shadow: 0 10px 26px rgba(12,22,38,.06);
  backdrop-filter:saturate(180%) blur(14px);
}
.header-phone{
  border:1px solid rgba(223,232,244,.92);
  background:rgba(255,255,255,.78);
  box-shadow: 0 10px 26px rgba(12,22,38,.06);
}
.burger{
  border:1px solid rgba(223,232,244,.92);
  background:rgba(255,255,255,.86);
  box-shadow: 0 10px 26px rgba(12,22,38,.06);
}

/* Dropdown: smooth open (desktop only) */
@media (min-width: 901px){
  .nav .dropdown-menu{
    display:block;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform: translateY(-6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  }

  /*
    Fix UX bug (desktop): the dropdown could close while moving the mouse
    from the trigger to the menu because of the small vertical gap.
    This invisible "hover bridge" keeps the menu open and clickable.
  */
  .nav .dropdown-menu::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:-10px;
    height:10px;
  }

  .nav .dropdown.open .dropdown-menu,
  .nav .dropdown:hover .dropdown-menu,
  .nav .dropdown:focus-within .dropdown-menu{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform: translateY(0);
  }
}

/* Grids: consistent spacing */
.grid-3, .grid-2, .photo-grid, .trust-grid, .blog-grid, .testi-grid{
  gap: clamp(12px, 1.6vw, 18px);
}

/* Images: subtle polish */
.photo-card img,
.blog-card-media img{
  border-radius: 0; /* containers handle radius */
}

/* Photo cards: premium hover */
.photo-card{
  border-radius: var(--radius);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.photo-card img{
  transition: transform .45s ease;
}
@media (hover:hover){
  .photo-card:hover{
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(31,134,199,.18);
  }
  .photo-card:hover img{ transform: scale(1.03); }
}

/* Blog cards: nicer hover (still subtle) */
.card.blog-card{
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.blog-card-media img{
  transition: transform .45s ease;
}
@media (hover:hover){
  .card.blog-card:hover{
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(31,134,199,.18);
  }
  .card.blog-card:hover .blog-card-media img{ transform: scale(1.03); }
}

/* Buttons: slightly more premium outline */
.btn.outline{
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(223,232,244,1);
}
.btn.outline:hover{
  background: rgba(255,255,255,.98);
  border-color: rgba(31,134,199,.20);
}

/* Forms: softer field background + better spacing */
input, select, textarea{
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(223,232,244,1);
}
input:focus, select:focus, textarea:focus{
  box-shadow: 0 0 0 4px rgba(31,134,199,.12);
}

/* KPIs + badges: tiny cleanup */
.kpi{
  border-radius: 14px;
  background: rgba(52,179,74,.075);
  border: 1px solid rgba(52,179,74,.20);
}
.badge{
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}



/* Cards used as blocks: subtle lift */
.card.feature,
.card.trust-item,
.card.testi-card{
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
@media (hover:hover){
  .card.feature:hover,
  .card.trust-item:hover,
  .card.testi-card:hover{
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(31,134,199,.16);
  }
}

/* Trust icons: brand-y but clean */
.trust-icon{
  background: linear-gradient(135deg, rgba(31,134,199,.18), rgba(52,179,74,.12));
  border:1px solid rgba(31,134,199,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}



/* Savings banner (premium) */
.savings-banner{
  margin: 14px 0 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(31,134,199,.18);
  background: linear-gradient(135deg, rgba(31,134,199,.14), rgba(52,179,74,.10));
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.savings-banner__icon{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 14px 28px rgba(12,22,38,.10);
  flex: 0 0 auto;
}
.savings-banner__title{
  font-weight: 950;
  letter-spacing: -0.01em;
  line-height: 1.15;
  font-size: 16px;
  margin: 0 0 4px;
}
.savings-banner__amount{
  color: var(--brand-blue);
  white-space: nowrap;
}
.savings-banner__sub{
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.savings-banner__note{
  margin-top: 6px;
  color: rgba(91,107,132,.95);
  font-size: 11.5px;
}
@media (hover:hover){
  .savings-banner:hover{
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(31,134,199,.28);
  }
}
@media (max-width: 520px){
  .savings-banner{
    padding: 12px 13px;
    gap: 10px;
  }
  .savings-banner__icon{
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 18px;
  }
  .savings-banner__title{ font-size: 15px; }
}


/* Reduced motion friendly */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}



/* ===== Mobile menu readability (fix: menu trop transparent sur téléphone) ===== */
@media (max-width: 900px){
  /* The global ".nav" glass style (later in the file) was overriding the mobile menu.
     On mobile we want a near-solid panel for better readability. */
  .nav{
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(223,232,244,.98);
    box-shadow: 0 18px 40px rgba(12,22,38,.16);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  /* Dropdown panel inside the mobile menu */
  .nav .dropdown-menu{
    background: rgba(246,248,251,.98);
    border: 1px solid rgba(223,232,244,.96);
  }
}
