:root{
  /* Couleurs catalanes (rouge/jaune) + bleu discret eau */
  --red:#D00027;
  --red2:#B40021;
  --yellow:#FFD200;
  --yellow2:#FFB700;
  --blue:#0B4AA2;

  --bg:#0b1220;
  --panel: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.12);
  --text:#f3f6ff;
  --muted: rgba(243,246,255,.78);

  --radius:18px;
  --shadow: 0 14px 30px rgba(0,0,0,.25);
  --container: 1040px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:
    radial-gradient(900px 550px at 10% -10%, rgba(255,210,0,.18), transparent 60%),
    radial-gradient(900px 550px at 110% 10%, rgba(208,0,39,.22), transparent 55%),
    radial-gradient(900px 650px at 50% 120%, rgba(11,74,162,.18), transparent 60%),
    linear-gradient(180deg, #070c16, #0b1220);
}

a{color:inherit; text-decoration:none}
.container{max-width:var(--container); margin:0 auto; padding:0 16px}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(11,18,32,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 0;
}
.brand{display:flex; align-items:center}
.brand__logo{
  height:42px; /* taille correcte sur mobile */
  width:auto;
  display:block;
  border-radius:12px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

/* Nav desktop */
.nav{
  display:none; /* mobile first */
  gap:16px;
  margin-left:auto;
}
.nav a{opacity:.92}
.nav a:hover{opacity:1; text-decoration:underline}

.topbar__actions{
  margin-left:auto;
  display:flex;
  gap:10px;
  align-items:center;
}
.burger{
  display:inline-flex;
  font-size:20px;
  background:transparent;
  border:1px solid var(--border);
  color:var(--text);
  padding:10px 12px;
  border-radius:14px;
}
.burger:hover{cursor:pointer; background:rgba(255,255,255,.06)}

.mobilemenu{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:12px 16px 16px;
  border-top:1px solid var(--border);
}
.mobilemenu a{
  padding:12px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}
.mobilemenu a:hover{background:rgba(255,255,255,.08)}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 14px;
  border-radius:999px;
  font-weight:900;
  border:1px solid rgba(255,255,255,.14);
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn:hover{transform: translateY(-1px)}
.btn--block{width:100%}

.btn--primary{
  background: linear-gradient(135deg, var(--yellow), var(--yellow2));
  color:#10131a;
  border-color: rgba(0,0,0,.15);
}
.btn--secondary{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}
.btn--call{
  background: linear-gradient(135deg, var(--red), var(--red2));
  border-color: rgba(0,0,0,.12);
  color: #fff;
}

/* Hero */
.hero{padding:18px 0 20px}
.flagbar{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:8px;
  margin:10px 0 14px;
}
.flagbar span{
  height:10px;
  border-radius:999px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  box-shadow: 0 10px 20px rgba(0,0,0,.18);
}

.badge{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(11,74,162,.18);
  border:1px solid rgba(11,74,162,.30);
  color: var(--muted);
  font-weight:900;
  font-size:12px;
}

h1{
  margin:14px 0 10px;
  font-size: clamp(26px, 6vw, 44px);
  line-height:1.08;
  letter-spacing:-.4px;
}
.lead{
  margin:0;
  color:var(--muted);
  line-height:1.6;
  font-size:16px;
}

.hero__cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:16px 0 14px;
}

.proof{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
  margin-top:10px;
}
.proof__item{
  background: var(--panel);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:14px;
  box-shadow: var(--shadow);
}
.proof__title{
  font-weight:1000;
  letter-spacing:.2px;
}
.proof__text{
  margin-top:4px;
  color:var(--muted);
  font-size:14px;
}

/* Sections */
.section{padding:28px 0}
.section--alt{
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.section__head{margin-bottom:14px}
.section__head h2{
  margin:0 0 6px;
  font-size: clamp(20px, 5vw, 30px);
}
.section__head p{margin:0; color:var(--muted); line-height:1.5}

/* Cards */
.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
}
.card{
  background: var(--panel);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
}
.card h3{margin:0 0 8px}
.card p{margin:0 0 10px; color:var(--muted); line-height:1.55}
.card ul{margin:0; padding-left:18px; color:rgba(243,246,255,.92)}
.card li{margin:6px 0}

/* Zone box */
.zonebox{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  background: linear-gradient(135deg, rgba(208,0,39,.14), rgba(255,210,0,.10));
  border:1px solid rgba(255,210,0,.18);
  border-radius: var(--radius);
  padding:14px;
  box-shadow: var(--shadow);
}
.zonebox__left{
  display:flex;
  align-items:center;
  gap:12px;
}
.zonepill{
  width:46px; height:46px;
  border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--red), var(--yellow));
  color:#0b1220;
  font-weight:1100;
  box-shadow: 0 14px 26px rgba(0,0,0,.22);
}
.zonetext{color:rgba(243,246,255,.92); line-height:1.3}

/* Tarifs */
.tarifs{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
}
.tarif{
  background: var(--panel);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:14px;
}
.tarif__title{font-weight:1000}
.tarif__text{margin-top:6px; color:var(--muted)}

.callout{
  margin-top:12px;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  background: rgba(11,74,162,.14);
  border:1px solid rgba(11,74,162,.28);
  border-radius: var(--radius);
  padding:14px;
}

/* Contact */
.contactgrid{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
}
.contactcard{
  background: var(--panel);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
}
.phone{
  margin:10px 0 8px;
  font-size:20px;
  font-weight:1100;
}
.small{color:var(--muted); line-height:1.5}

.form{
  display:grid;
  gap:10px;
  background: var(--panel);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
}
label{display:grid; gap:6px; font-weight:1000}
input, textarea{
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline:none;
}
input:focus, textarea:focus{
  border-color: rgba(255,210,0,.55);
}
.formnote{
  margin:0;
  color:var(--muted);
  font-size:12.5px;
  line-height:1.45;
}

/* Footer */
.footer{
  padding:18px 0 16px;
  border-top:1px solid var(--border);
  background: rgba(0,0,0,.14);
}
.footer__inner{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:space-between;
}
.footer__right{
  display:flex;
  flex-direction:column;
  gap:6px;
  align-items:flex-end;
}
.footer__call{
  font-weight:1100;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Floating call button (mobile) */
.floating{
  position:fixed;
  right:14px;
  bottom:14px;
  width:54px; height:54px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, var(--yellow), var(--yellow2));
  color:#10131a;
  border:1px solid rgba(0,0,0,.12);
  box-shadow: var(--shadow);
  z-index:60;
}

/* Desktop improvements */
@media (min-width: 980px){
  .container{padding:0 18px}
  .brand__logo{height:52px} /* un peu plus grand sur desktop */
  .nav{display:flex}
  .burger{display:none}
  .hero{padding:28px 0 30px}
  .proof{grid-template-columns: repeat(3, 1fr)}
  .grid{grid-template-columns: repeat(3, 1fr)}
  .tarifs{grid-template-columns: repeat(3, 1fr)}
  .contactgrid{grid-template-columns: 1fr 1.1fr}
}
