/* SecuPC v2 — Ambiance claire, professionnelle — HITOP */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=DM+Sans:wght@500;700&display=swap');

:root {
  --bg:       #f8f9fb;
  --bg2:      #ffffff;
  --bg3:      #f0f4f8;
  --navy:     #0f2a4a;
  --navy2:    #1a3a5c;
  --teal:     #0d8c6e;
  --teal-lt:  #e6f5f0;
  --teal-mid: #b3ddd2;
  --blue-lt:  #eaf1fb;
  --text:     #1a2c3d;
  --muted:    #5a7080;
  --border:   #dce4ed;
  --white:    #ffffff;
  --radius:   10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: #0a6e57; }
img { display: block; max-width: 100%; }

/* ── NAV ─────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo img { height: 36px; }
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a {
  display: block;
  padding: .4rem .85rem;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 500;
  transition: color .2s;
  border-radius: 6px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); background: var(--bg3); }
.nav-cta {
  background: var(--teal) !important;
  color: #fff !important;
  padding: .45rem 1.1rem !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: #0a6e57 !important; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ── HERO ────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 6rem 1.5rem 5rem;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://secupc.fr/images/bassin-arcachon-secupc.jpg') center/cover no-repeat;
  opacity: .04;
}
.hero-inner { position: relative; max-width: 800px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  background: var(--teal-lt);
  border: 1px solid var(--teal-mid);
  color: var(--teal);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 2.5rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: .8rem;
  font-weight: 500;
  padding: .3rem .8rem;
  border-radius: 99px;
}
.chip::before { content: '✦'; color: var(--teal); font-size: .55rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: #0a6e57; color: #fff; transform: translateY(-1px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1.5px solid var(--border);
  color: var(--navy);
  font-weight: 600;
  font-size: .95rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-lt); }

/* ── BARRE EXPÉRIENCE ────────────────── */
.xp-bar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.xp-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.xp-stat { display: flex; align-items: center; gap: .75rem; }
.xp-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #7dd4b8;
}
.xp-label { color: rgba(255,255,255,.55); font-size: .82rem; line-height: 1.35; }
.xp-sep { width: 1px; height: 36px; background: rgba(255,255,255,.1); }

/* ── SECTIONS ────────────────────────── */
.section { padding: 5rem 1.5rem; }
.section-alt { background: var(--bg3); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .6rem;
}
.section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .9rem;
}
.section-intro { color: var(--muted); max-width: 580px; margin-bottom: 2.75rem; }

/* ── CARDS ───────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: var(--teal-mid); box-shadow: 0 4px 16px rgba(13,140,110,.08); }
.card-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-lt);
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}
.card p { color: var(--muted); font-size: .875rem; }

/* ── AUDIENCE ────────────────────────── */
.audience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.audience-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.audience-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.07); border-color: var(--teal-mid); }
.audience-card img { width: 100%; height: 170px; object-fit: cover; }
.audience-body { padding: 1.5rem; }
.audience-body h3 { font-family: 'DM Sans', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.audience-body p { color: var(--muted); font-size: .875rem; margin-bottom: 1rem; }
.audience-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--teal); font-weight: 600; font-size: .85rem; }

/* ── CAS CONCRETS ────────────────────── */
.cas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.cas-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.cas-tag {
  display: inline-block;
  background: var(--teal-lt);
  color: var(--teal);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}
.cas-card h3 { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.cas-steps { list-style: none; }
.cas-steps li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: var(--muted);
  font-size: .875rem;
  padding: .4rem 0;
  border-bottom: 1px solid var(--bg3);
}
.cas-steps li:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 50%;
}

/* ── TARIFS ──────────────────────────── */
.tarif-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.tarif-price {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
}
.tarif-price small { font-size: .95rem; color: var(--muted); font-family: 'Inter', sans-serif; font-weight: 400; }
.tarif-list { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.tarif-list li { color: var(--muted); font-size: .9rem; display: flex; gap: .5rem; }
.tarif-list li::before { content: '→'; color: var(--teal); flex-shrink: 0; }

/* ── CTA STRIP ───────────────────────── */
.cta-strip {
  background: var(--navy);
  text-align: center;
  padding: 4.5rem 1.5rem;
}
.cta-strip h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: .9rem;
}
.cta-strip p { color: rgba(255,255,255,.6); margin-bottom: 2rem; }
.cta-strip .btn-outline {
  border-color: rgba(255,255,255,.3);
  color: #fff;
}
.cta-strip .btn-outline:hover { border-color: #7dd4b8; color: #7dd4b8; background: transparent; }
.cta-contact { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ── FOOTER ──────────────────────────── */
footer {
  background: #0a1e32;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 3rem 1.5rem 1.5rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand img { height: 30px; margin-bottom: .9rem; filter: brightness(2); }
.footer-brand p { color: rgba(255,255,255,.4); font-size: .85rem; max-width: 280px; }
.footer-col h4 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul a { color: rgba(255,255,255,.55); font-size: .875rem; }
.footer-col ul a:hover { color: #7dd4b8; }
.footer-bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: rgba(255,255,255,.3);
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom a { color: rgba(255,255,255,.35); }
.footer-bottom a:hover { color: #7dd4b8; }

/* ── PAGE HERO (inner pages) ─────────── */
.page-hero {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 1.5rem 3.5rem;
  text-align: center;
}
.page-hero-inner { max-width: 680px; margin: 0 auto; }
.page-hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}
.page-hero p { color: var(--muted); font-size: 1rem; }

/* ── BREADCRUMB ──────────────────────── */
.breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem 0;
  font-size: .8rem;
  color: var(--muted);
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { color: var(--teal); }

/* ── SERVICE LIST ────────────────────── */
.service-list { display: flex; flex-direction: column; gap: 1.25rem; }
.service-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  align-items: start;
  transition: border-color .2s, box-shadow .2s;
}
.service-item:hover { border-color: var(--teal-mid); box-shadow: 0 4px 16px rgba(13,140,110,.07); }
.service-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-lt);
  border-radius: 12px;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.service-item h3 { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
.service-item p { color: var(--muted); font-size: .875rem; }

/* ── WHY / TIMELINE ──────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.why-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.why-card h3 { font-family: 'DM Sans', sans-serif; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.why-card p { color: var(--muted); font-size: .875rem; }

.timeline { display: flex; flex-direction: column; }
.tl-item { display: flex; gap: 1.25rem; position: relative; padding-bottom: 1.75rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-left { display: flex; flex-direction: column; align-items: center; }
.tl-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  margin-top: 5px;
}
.tl-line { flex: 1; width: 2px; background: var(--teal-mid); margin-top: 4px; }
.tl-item:last-child .tl-line { display: none; }
.tl-content h3 { font-family: 'DM Sans', sans-serif; font-weight: 700; color: var(--navy); margin-bottom: .25rem; font-size: .95rem; }
.tl-content p { color: var(--muted); font-size: .85rem; }

/* ── PROFILE GRID ────────────────────── */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem; }
.profile-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.profile-icon { font-size: 1.75rem; margin-bottom: .75rem; }
.profile-card h3 { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 700; color: var(--teal); margin-bottom: .5rem; }
.profile-card ul { list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.profile-card ul li { color: var(--muted); font-size: .85rem; display: flex; gap: .5rem; }
.profile-card ul li::before { content: '✓'; color: var(--teal); flex-shrink: 0; }

/* ── RESPONSIVE ──────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #fff;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
  }
  .hamburger { display: block; }
  .footer-inner { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .tarif-box { flex-direction: column; gap: 1.5rem; }
  .xp-sep { display: none; }
  .xp-inner { gap: 1.5rem; }
  .service-item { grid-template-columns: 1fr; }
}

/* ═══ INSTALL BANNER (PWA / écran d'accueil) ═══ */
#install-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,.10);
}
.install-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: .9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .9rem;
}
.install-logo { height: 28px; flex-shrink: 0; }
.install-text { flex: 1; }
.install-text strong { display: block; font-size: .9rem; color: var(--navy); }
.install-text span { font-size: .78rem; color: var(--muted); }
.install-btn {
  background: var(--teal);
  color: #fff;
  border: none;
  padding: .45rem 1.1rem;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.install-btn:hover { background: #0a6e57; }
.install-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
  padding: .25rem .4rem;
  flex-shrink: 0;
}
.install-close:hover { color: var(--navy); }

/* ═══ OFFRE ANNUELLE ═══ */
.offre-annuelle {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}
.offre-prix {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: sticky;
  top: 80px;
}
.offre-badge {
  display: inline-block;
  background: rgba(125,212,184,.15);
  color: #7dd4b8;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}
.offre-montant {
  font-family: 'DM Sans', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: .5rem;
}
.offre-montant span { font-size: 1.1rem; color: rgba(255,255,255,.5); font-weight: 400; }
.offre-equiv { color: rgba(255,255,255,.55); font-size: .85rem; }
.offre-equiv strong { color: #7dd4b8; }
.offre-liste {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.offre-liste li {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.offre-liste li:last-child { border-bottom: none; }
.offre-check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-lt);
  color: var(--teal);
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 700;
  margin-top: 2px;
}
.offre-liste strong { display: block; color: var(--navy); font-size: .95rem; margin-bottom: .2rem; }
.offre-liste p { color: var(--muted); font-size: .85rem; margin: 0; }

@media (max-width: 768px) {
  .offre-annuelle { grid-template-columns: 1fr; }
  .offre-prix { position: static; }
  #install-banner { bottom: 0; }
}
