/* ============================================================
   SECURISELEC — version minimaliste
   Palette reprise du flyer : bleu vif #18A7E3 / marine #0A4589
   ============================================================ */
:root{
  --navy:      #0A4589;
  --navy-deep: #073266;
  --blue:      #18A7E3;
  --blue-soft: #E9F5FC;
  --white:     #FFFFFF;
  --ink:       #10233B;
  --ink-mut:   #5E6E84;
  --line:      #E5EBF2;
  --cream:     #F6F9FC;
  --gold:      #FBBC05;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container: 1120px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--white); color:var(--ink);
  font-family:var(--font); font-size:17px; line-height:1.65; -webkit-font-smoothing:antialiased;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3{ letter-spacing:-0.02em; line-height:1.12; margin:0; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } *{ animation:none!important; transition:none!important; } }

.wrap{ max-width:var(--container); margin:0 auto; padding:0 32px; }
.section{ padding:96px 0; }
.eyebrow{ text-transform:uppercase; letter-spacing:0.18em; font-size:0.74rem; font-weight:700; color:var(--blue); margin:0 0 16px; }
.h2{ font-size:clamp(1.8rem,3.4vw,2.5rem); font-weight:800; margin:0 0 18px; }
.lead{ color:var(--ink-mut); font-size:1.06rem; max-width:58ch; }

.btn{ display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:15px 28px; border-radius:10px; font-weight:700; font-size:0.98rem; border:2px solid transparent; transition:transform .2s var(--ease), background .2s, color .2s, border-color .2s; }
.btn svg{ width:19px; height:19px; }
.btn-primary{ background:var(--blue); color:#fff; }
.btn-primary:hover{ background:var(--navy); transform:translateY(-2px); }
.btn-navy{ background:var(--navy); color:#fff; }
.btn-navy:hover{ background:var(--navy-deep); transform:translateY(-2px); }
.btn-outline{ border-color:var(--line); color:var(--navy); background:#fff; }
.btn-outline:hover{ border-color:var(--blue); color:var(--blue); transform:translateY(-2px); }
.btn-lg{ padding:18px 34px; font-size:1.05rem; }

/* ---------- HEADER ---------- */
.header{ position:sticky; top:0; z-index:100; background:rgba(255,255,255,0.92); backdrop-filter:blur(8px); border-bottom:1px solid var(--line); }
.header-in{ display:flex; align-items:center; justify-content:space-between; height:74px; }
.logo img{ height:44px; width:auto; }
.header-nav{ display:flex; gap:30px; }
.header-nav a{ font-size:0.95rem; font-weight:600; color:var(--ink); opacity:.85; transition:color .2s; }
.header-nav a:hover{ color:var(--blue); opacity:1; }
.header-cta{ display:flex; align-items:center; gap:14px; }
.header-phone{ font-weight:700; color:var(--navy); font-size:0.98rem; display:inline-flex; align-items:center; gap:7px; }
.header-phone svg{ width:17px; height:17px; }
.burger{ display:none; flex-direction:column; gap:5px; background:none; border:0; padding:6px; }
.burger span{ width:24px; height:2px; background:var(--navy); border-radius:2px; }

/* ---------- HERO ---------- */
.hero{ padding:84px 0 72px; }
.hero-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center; }
.hero h1{ font-size:clamp(2.2rem,4.6vw,3.4rem); font-weight:800; margin:0 0 20px; }
.hero h1 .acc{ color:var(--blue); }
.hero-tag{ color:var(--ink-mut); font-size:1.12rem; max-width:44ch; margin:0 0 28px; }
.hero-loc{ display:inline-flex; align-items:center; gap:9px; background:var(--blue-soft); color:var(--navy); font-weight:700; font-size:0.92rem; padding:9px 16px; border-radius:999px; margin-bottom:30px; }
.hero-loc svg{ width:17px; height:17px; color:var(--blue); }
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-visual{ display:flex; justify-content:center; }
.hero-visual img{ width:min(340px,80%); height:auto; }

/* ---------- BANDE LOCALISATION ---------- */
.locband{ background:var(--blue); color:#fff; }
.locband .wrap{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; padding-top:16px; padding-bottom:16px; font-weight:600; }
.locband svg{ width:20px; height:20px; flex-shrink:0; }
.locband strong{ font-weight:800; }

/* ---------- SERVICES (bloc marine, comme le flyer) ---------- */
.services{ background:var(--navy); color:#fff; }
.services .eyebrow{ color:#8FD0F1; }
.services h2{ color:#fff; }
.services-lead{ color:rgba(255,255,255,0.75); max-width:56ch; margin:0 0 44px; }
.svc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.12); border-radius:14px; overflow:hidden; }
.svc{ background:var(--navy); padding:30px 26px; transition:background .25s; }
.svc:hover{ background:var(--navy-deep); }
.svc-ico{ width:34px; height:34px; color:var(--blue); margin-bottom:16px; }
.svc h3{ font-size:1.12rem; font-weight:700; margin:0 0 8px; text-transform:uppercase; letter-spacing:0.02em; }
.svc p{ margin:0; color:rgba(255,255,255,0.72); font-size:0.92rem; }

/* ---------- À PROPOS ---------- */
.about-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:center; }
.about-photo{ position:relative; border-radius:16px; overflow:hidden; aspect-ratio:4/5; box-shadow:0 24px 50px -30px rgba(10,69,137,.5); }
.about-photo img{ width:100%; height:100%; object-fit:cover; object-position:center 20%; }
.about-badge{ position:absolute; left:14px; bottom:14px; right:14px; background:rgba(7,50,102,.9); backdrop-filter:blur(6px); color:#fff; padding:12px 16px; border-radius:10px; }
.about-badge strong{ display:block; font-size:1rem; }
.about-badge span{ font-size:0.8rem; color:#9FD6F2; }
.about h2{ margin-bottom:20px; }
.about p{ color:var(--ink-mut); margin:0 0 16px; }
.values{ display:flex; flex-direction:column; gap:10px; margin:22px 0 0; }
.values li{ padding-left:26px; position:relative; font-weight:500; color:var(--ink); }
.values li::before{ content:""; position:absolute; left:0; top:8px; width:14px; height:8px; border-left:2px solid var(--blue); border-bottom:2px solid var(--blue); transform:rotate(-45deg); }

/* ---------- VAN ---------- */
.van{ background:var(--cream); }
.van-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:48px; align-items:center; }
.van-stage{ position:relative; }
.van-vehicle{ position:relative; width:100%; max-width:600px; margin:0 auto; }
[data-reveal].in .van-vehicle{ animation:vanIn 1s var(--ease) both; }
@keyframes vanIn{ from{ transform:translateX(-40px); opacity:0; } to{ transform:none; opacity:1; } }
.van-img{ width:100%; height:auto; }
/* flocage CSS (utilisé tant que l'image floquée définitive n'est pas fournie) */
.van-brand{ position:absolute; left:8%; top:30%; width:41%; text-align:center; line-height:1.1; }
.van-brand-logo{ width:82%; margin:0 auto 6px; }
.van-brand-tag{ display:block; font-weight:700; font-size:0.6rem; letter-spacing:.03em; color:var(--navy); text-transform:uppercase; margin-bottom:5px; }
.van-brand-phone{ display:block; font-weight:800; font-size:1.05rem; color:var(--navy); }
.van-brand-web{ display:block; font-weight:700; font-size:0.7rem; color:var(--blue); margin-top:2px; }

/* ---------- AVIS ---------- */
.avis-top{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-bottom:36px; }
.grev{ display:inline-flex; align-items:center; gap:12px; border:1px solid var(--line); border-radius:12px; padding:12px 18px; }
.grev-g{ font-weight:800; font-size:1.3rem;
  background:conic-gradient(from -45deg,#4285F4 0 25%,#34A853 0 50%,#FBBC05 0 75%,#EA4335 0 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent; }
.grev b{ font-size:1.1rem; } .grev .st{ color:var(--gold); font-size:.9rem; letter-spacing:1px; } .grev small{ color:var(--ink-mut); font-size:.78rem; display:block; }
.avis-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.rev{ border:1px solid var(--line); border-radius:14px; padding:26px; display:flex; flex-direction:column; }
.rev .st{ color:var(--gold); letter-spacing:2px; margin-bottom:12px; }
.rev p{ margin:0 0 18px; color:var(--ink); font-size:0.95rem; flex:1; }
.rev-who{ display:flex; align-items:center; gap:11px; }
.rev-av{ width:36px; height:36px; border-radius:50%; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; }
.rev-who b{ display:block; font-size:0.95rem; } .rev-who small{ color:var(--ink-mut); font-size:0.76rem; }

/* ---------- INSTAGRAM ---------- */
.insta-top{ display:flex; align-items:flex-end; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-bottom:28px; }
.insta-cta{ display:inline-flex; align-items:center; gap:11px; border:1px solid var(--line); border-radius:12px; padding:10px 16px; }
.insta-cta-ic{ width:36px; height:36px; border-radius:9px; display:flex; align-items:center; justify-content:center; color:#fff; background:linear-gradient(45deg,#F58529,#DD2A7B 45%,#8134AF 70%,#515BD4); }
.insta-cta-ic svg{ width:19px; height:19px; }
.insta-cta b{ display:block; font-size:.92rem; } .insta-cta small{ color:var(--ink-mut); font-size:.78rem; }
.insta-band{ overflow:hidden; padding:6px 0; -webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent); mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent); }
.insta-track{ display:flex; gap:16px; width:max-content; animation:marq 42s linear infinite; }
.insta-band:hover .insta-track{ animation-play-state:paused; }
@keyframes marq{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
.ipost{ position:relative; flex:0 0 auto; width:220px; aspect-ratio:4/5; border-radius:14px; overflow:hidden; border:1px solid var(--line); background:linear-gradient(155deg,#EAF4FC,#D6EAF7); display:flex; align-items:center; justify-content:center; }
.ipost-ph{ display:flex; flex-direction:column; align-items:center; gap:8px; color:var(--navy); text-align:center; padding:14px; }
.ipost-ph svg{ width:32px; height:32px; opacity:.5; }
.ipost-tag{ font-weight:700; font-size:.82rem; text-transform:uppercase; letter-spacing:.05em; }
.ipost-lb{ font-size:.72rem; color:var(--ink-mut); }
.insta-note{ text-align:center; color:var(--ink-mut); font-size:.84rem; margin:22px 0 0; }
.insta-note a{ color:var(--blue); font-weight:600; }

/* ---------- CONTACT ---------- */
.contact{ background:var(--navy); color:#fff; }
.contact .eyebrow{ color:#8FD0F1; } .contact h2{ color:#fff; }
.contact-lead{ color:rgba(255,255,255,.78); max-width:52ch; margin:0 auto 40px; }
.contact-in{ text-align:center; }
.contact-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-bottom:40px; }
.cbtn{ display:inline-flex; align-items:center; gap:12px; padding:20px 30px; border-radius:14px; font-weight:700; font-size:1.1rem; transition:transform .2s var(--ease); }
.cbtn svg{ width:24px; height:24px; }
.cbtn-call{ background:var(--blue); color:#fff; }
.cbtn-mail{ background:#fff; color:var(--navy); }
.cbtn:hover{ transform:translateY(-3px); }
.contact-meta{ display:flex; gap:34px; justify-content:center; flex-wrap:wrap; color:rgba(255,255,255,.82); font-size:0.95rem; margin-bottom:30px; }
.contact-meta div{ max-width:280px; }
.contact-meta b{ color:#fff; display:block; margin-bottom:3px; font-size:0.8rem; text-transform:uppercase; letter-spacing:.08em; color:#8FD0F1; }
.socials{ display:flex; gap:14px; justify-content:center; }
.socials a{ width:44px; height:44px; border-radius:50%; border:1px solid rgba(255,255,255,.25); display:flex; align-items:center; justify-content:center; color:#fff; transition:background .2s, border-color .2s; }
.socials a:hover{ background:var(--blue); border-color:var(--blue); }
.socials svg{ width:20px; height:20px; }

/* ---------- FOOTER ---------- */
.footer{ background:var(--navy-deep); color:rgba(255,255,255,.66); font-size:0.86rem; }
.footer .wrap{ padding-top:34px; padding-bottom:34px; display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; }
.footer a{ color:rgba(255,255,255,.8); text-decoration:underline; text-underline-offset:3px; }
.footer a:hover{ color:#fff; }
.footer-legal{ display:flex; gap:18px; flex-wrap:wrap; }

/* ---------- FLOATING ---------- */
.float{ position:fixed; right:18px; bottom:18px; z-index:200; display:flex; flex-direction:column; gap:12px; }
.float a{ width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; box-shadow:0 12px 26px -8px rgba(0,0,0,.4); transition:transform .2s; }
.float a:hover{ transform:translateY(-3px) scale(1.05); }
.float svg{ width:28px; height:28px; }
.float-wa{ background:#25D366; } .float-call{ background:var(--blue); }

/* ---------- REVEAL ---------- */
[data-reveal]{ opacity:0; transform:translateY(18px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in{ opacity:1; transform:none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width:900px){
  .hero-grid,.about-grid,.van-grid{ grid-template-columns:1fr; gap:36px; }
  .hero-visual{ order:-1; } .hero-visual img{ width:220px; }
  .about-photo{ max-width:360px; }
  .svc-grid{ grid-template-columns:repeat(2,1fr); }
  .avis-grid{ grid-template-columns:1fr; }
  .header-nav{ display:none; } .burger{ display:flex; }
  .header-nav.open{ display:flex; position:absolute; top:74px; left:0; right:0; background:#fff; flex-direction:column; padding:18px 32px; gap:16px; border-bottom:1px solid var(--line); }
}
@media (max-width:560px){
  .wrap{ padding:0 20px; } .section{ padding:64px 0; }
  .svc-grid{ grid-template-columns:1fr; }
  .header-phone span{ display:none; }
  .contact-actions{ flex-direction:column; } .cbtn{ width:100%; justify-content:center; }
  .footer .wrap{ flex-direction:column; align-items:flex-start; }
}
html,body{ overflow-x:hidden; max-width:100%; }

/* ---------- PAGES LÉGALES ---------- */
.legal{ max-width:760px; margin:0 auto; padding:70px 32px 90px; }
.legal a.back{ color:var(--blue); font-weight:600; display:inline-block; margin-bottom:24px; }
.legal h1{ font-size:2rem; font-weight:800; margin:0 0 26px; }
.legal h2{ font-size:1.15rem; font-weight:700; color:var(--navy); margin:32px 0 10px; }
.legal p{ color:var(--ink-mut); margin:0 0 10px; }
.legal ul{ color:var(--ink-mut); padding-left:20px; margin:0 0 12px; list-style:disc; }

/* Flux Instagram en direct (LightWidget) : on retire le masque/marquee */
.insta-band.insta-live{ -webkit-mask:none; mask:none; overflow:visible; padding:0; }

/* ---------- Retour à la ligne visible uniquement sur PC ---------- */
.br-d{ display:none; }
@media (min-width:820px){ .br-d{ display:inline; } }

/* ---------- Tuiles CTA dans la grille de prestations ---------- */
.svc-cta{ display:flex; flex-direction:column; justify-content:center; }
.svc-cta-btn{ margin-top:14px; align-self:flex-start; padding:11px 20px; }

/* ---------- Section Partenaires ---------- */
.partners{ background:var(--white); }
.partners-title{ text-align:center; color:var(--navy); margin-bottom:34px; }
.partners-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; align-items:stretch; }
.pcol{ display:flex; flex-direction:column; }
.pcol-head{ background:var(--blue); color:#fff; font-weight:700; text-align:center; padding:10px 10px; border-radius:10px; margin-bottom:12px; font-size:0.95rem; }
.pcol-body{ border:1px solid var(--line); border-radius:12px; display:flex; flex-direction:column; flex:1; overflow:hidden; }
.plogo{ flex:1; min-height:80px; display:flex; align-items:center; justify-content:center; padding:16px 18px; border-bottom:1px solid var(--line); }
.pcol-body .plogo:last-child{ border-bottom:0; }
.plogo img{ max-height:30px; max-width:78%; width:auto; object-fit:contain; }
@media (max-width:900px){ .partners-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .partners-grid{ grid-template-columns:1fr; } }

/* ---------- Partenaires : ligne simple de logos institutionnels ---------- */
.plogos-row{ display:flex; align-items:center; justify-content:center; gap:clamp(34px,7vw,80px); flex-wrap:wrap; }
.plogos-row img{ max-height:78px; width:auto; object-fit:contain; }
@media (max-width:560px){ .plogos-row{ gap:30px; } .plogos-row img{ max-height:56px; } }
