/* ==========================================================================
   components.css — blocs d'interface réutilisables
   Sommaire : Navigation · Boutons · Héros · Visuels téléphone · Cartes ·
              Hors connexion · Confidentialité · Politique · Contact · Pied
   ========================================================================== */

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.94);
  backdrop-filter:saturate(140%) blur(8px);
  border-bottom:1px solid var(--line);
}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;height:var(--nav-h)}

.brand{display:flex;align-items:baseline;gap:10px;text-decoration:none}
.brand .mark{font-weight:700;letter-spacing:.16em;font-size:19px;color:var(--navy)}
.brand .sub{font-size:12.5px;color:var(--muted);letter-spacing:.02em}

.nav-list{display:flex;align-items:center;gap:34px;list-style:none;margin:0;padding:0}
.nav-link{
  text-decoration:none;font-size:15px;color:var(--navy);opacity:.82;
  padding:6px 0;border-bottom:1.5px solid transparent;
}
.nav-link:hover{opacity:1;border-bottom-color:var(--line)}
.nav-link--gold{color:var(--gold);opacity:1;font-weight:600}
.nav-link--gold:hover{border-bottom-color:var(--gold)}

/* Bouton hamburger : masqué au-delà de 720px */
.burger{
  display:none;
  width:44px;height:44px;padding:0;margin-right:-10px;
  background:none;border:0;cursor:pointer;
  align-items:center;justify-content:center;
}
.burger span{
  display:block;position:relative;
  width:22px;height:2px;background:var(--navy);border-radius:2px;
  transition:background .18s ease;
}
.burger span::before,
.burger span::after{
  content:"";position:absolute;left:0;
  width:22px;height:2px;background:var(--navy);border-radius:2px;
  transition:transform .22s ease,top .22s ease;
}
.burger span::before{top:-7px}
.burger span::after{top:7px}

/* État ouvert : le hamburger devient une croix */
.burger[aria-expanded="true"] span{background:transparent}
.burger[aria-expanded="true"] span::before{top:0;transform:rotate(45deg)}
.burger[aria-expanded="true"] span::after{top:0;transform:rotate(-45deg)}

@media (max-width:720px){
  /* margin-left:auto : le <nav> vide reste un enfant flex, sans cela le
     bouton se retrouve au centre à cause de space-between */
  .burger{display:flex;margin-left:auto}
  .brand .sub{display:none}

  /* Le menu devient un panneau déroulant sous la barre */
  .nav-list{
    display:none;
    position:absolute;left:0;right:0;top:var(--nav-h);
    flex-direction:column;align-items:stretch;gap:0;
    background:var(--white);
    border-bottom:1px solid var(--line);
    box-shadow:0 14px 28px rgba(14,34,53,.10);
    padding:8px var(--gutter) 18px;
  }
  .nav-list.is-open{display:flex}
  /* Pas de séparateurs ni de soulignement dans le panneau mobile */
  .nav-link{padding:14px 0;font-size:16.5px;border-bottom:0}
  .nav-link:hover{border-bottom:0}
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */

.btn{
  display:inline-block;text-decoration:none;
  font-weight:600;font-size:14.5px;letter-spacing:.03em;
  padding:13px 26px;border-radius:4px;
  transition:background .18s ease,color .18s ease;
}
.btn--gold{background:var(--gold);color:#20180A}
.btn--gold:hover{background:var(--gold-dark)}
.btn--outline{color:#8A6A20;border:1.5px solid var(--gold);padding:12px 26px}
.btn--outline:hover{background:var(--gold);color:#20180A}

/* --------------------------------------------------------------------------
   Héros
   -------------------------------------------------------------------------- */

.hero{position:relative;min-height:470px;display:flex;align-items:center;overflow:hidden}
.hero-bg{position:absolute;inset:0}
.hero-bg img{width:100%;height:100%;object-fit:cover;object-position:center 55%}
.hero-bg::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(100deg,
    rgba(14,34,53,.90) 0%,
    rgba(14,34,53,.72) 34%,
    rgba(14,34,53,.20) 62%,
    rgba(14,34,53,.05) 100%);
}
.hero .wrap{position:relative;z-index:2;padding-top:78px;padding-bottom:78px}
.hero-inner{max-width:560px;color:#fff}
.hero h1{
  font-family:var(--sans);font-weight:700;letter-spacing:.2em;
  font-size:56px;line-height:1.05;margin:0 0 14px;text-transform:uppercase;
}
.hero .kicker{
  font-family:var(--serif);font-size:23px;color:var(--gold-soft);
  margin:0 0 26px;font-weight:400;letter-spacing:.01em;
}
.hero .tagline{
  font-family:var(--serif);font-size:20px;line-height:1.6;
  color:rgba(255,255,255,.92);margin:0 0 34px;max-width:470px;
}

@media (max-width:720px){
  .hero{min-height:auto}
  .hero .wrap{padding-top:62px;padding-bottom:62px}
  .hero h1{font-size:36px;letter-spacing:.16em}
  .hero .kicker{font-size:19px}
  .hero .tagline{font-size:17.5px}
  .hero-bg::after{
    background:linear-gradient(180deg,
      rgba(14,34,53,.86) 0%,
      rgba(14,34,53,.78) 60%,
      rgba(14,34,53,.68) 100%);
  }
}

/* --------------------------------------------------------------------------
   Visuels téléphone
   -------------------------------------------------------------------------- */

.phones{position:relative;display:flex;justify-content:center;align-items:flex-end;gap:18px}
.phone{
  width:250px;border-radius:26px;background:var(--night);padding:8px;
  box-shadow:0 22px 50px rgba(14,34,53,.20);
}
.phone img{border-radius:19px}
.phone--small{width:196px;opacity:.96;margin-bottom:34px}

@media (max-width:720px){
  .phone{width:230px}
  .phone--small{display:none}
}

/* --------------------------------------------------------------------------
   Cartes de fonctionnalités
   -------------------------------------------------------------------------- */

.features{background:var(--off);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.features-head{text-align:center;margin-bottom:58px}
.features-head p{margin-left:auto;margin-right:auto}

.card{
  background:#fff;border:1px solid #EFEFEC;border-radius:10px;
  padding:38px 30px 34px;
  box-shadow:0 2px 10px rgba(23,50,77,.05);
}
.card .ico{
  width:46px;height:46px;display:flex;align-items:center;justify-content:center;
  border-radius:9px;background:rgba(200,155,60,.12);margin-bottom:22px;
}
.card .ico svg{
  width:23px;height:23px;stroke:var(--gold);fill:none;
  stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;
}
.card p{font-size:15.5px;color:#4A5762;margin:0}

/* --------------------------------------------------------------------------
   Hors connexion
   -------------------------------------------------------------------------- */

.offline{background:var(--navy);color:#fff}
.offline h2{color:#fff}
.offline p{color:rgba(255,255,255,.82)}
.offline .split{gap:80px}
.offline .phone{box-shadow:0 26px 60px rgba(0,0,0,.34)}

.checks{list-style:none;margin:30px 0 0;padding:0}
.checks li{
  display:flex;gap:13px;align-items:flex-start;padding:9px 0;
  font-size:16px;color:rgba(255,255,255,.94);
}
.checks svg{
  flex:none;width:17px;height:17px;margin-top:5px;
  stroke:var(--gold);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;
}

/* --------------------------------------------------------------------------
   Confidentialité (encart d'accueil)
   -------------------------------------------------------------------------- */

.privacy{background:#F5F8FB;text-align:center}
.privacy p{margin-left:auto;margin-right:auto}
.privacy .statement{
  font-family:var(--serif);font-size:24px;color:var(--navy);
  line-height:1.5;margin-bottom:20px;
}
.privacy .btn{margin-top:14px}

.lock{
  width:60px;height:60px;margin:0 auto 26px;border-radius:50%;
  background:#fff;border:1px solid #DDE6EE;
  display:flex;align-items:center;justify-content:center;
}
.lock svg{
  width:26px;height:26px;stroke:var(--navy);fill:none;
  stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;
}

/* --------------------------------------------------------------------------
   Page politique de confidentialité
   -------------------------------------------------------------------------- */

/* Pas de héros au-dessus : on resserre le blanc sous la barre de navigation */
.policy{padding-top:72px}

.policy-head{border-bottom:1px solid var(--line);padding-bottom:28px;margin-bottom:44px}
.policy-head h2{margin-bottom:8px}
.policy-head .sub{color:var(--muted);font-size:16px;margin:0}
.policy-head .date{color:var(--muted);font-size:14px;margin:14px 0 0}

.toc{list-style:none;margin:0;padding:0;position:sticky;top:calc(var(--nav-h) + 30px)}
.toc a{
  display:block;text-decoration:none;
  font-size:14.5px;color:var(--muted);
  padding:8px 0 8px 16px;border-left:2px solid var(--line);
  transition:color .18s ease,border-color .18s ease;
}
.toc a:hover{color:var(--navy)}
.toc a.is-active{color:var(--navy);border-left-color:var(--gold);font-weight:600}

.policy-body h3{margin-top:36px;font-size:17px;scroll-margin-top:calc(var(--nav-h) + 24px)}
.policy-body h3:first-child{margin-top:0}
.policy-body p{font-size:16px;color:#454F58}
.policy-body ul{margin:0 0 18px;padding-left:20px;color:#454F58;font-size:16px}
.policy-body li{margin-bottom:7px}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact{background:var(--off);border-top:1px solid var(--line)}
.contact h2{margin-bottom:10px}
.contact .place{color:var(--muted);font-size:15.5px;margin:6px 0 0}
.contact .org{color:var(--navy);font-weight:600}

.crow{display:flex;gap:15px;align-items:flex-start}
.crow svg{
  flex:none;width:20px;height:20px;margin-top:4px;
  stroke:var(--gold);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;
}
.crow .lbl{font-size:13px;color:var(--muted);margin:0}
.crow .val{font-size:16.5px;color:var(--navy);font-weight:500;margin:0;text-decoration:none}
.crow a.val:hover{color:var(--gold)}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.site-footer{
  background:var(--night);color:rgba(255,255,255,.72);
  padding:66px 0 34px;font-size:15px;
}
.f-top{display:flex;justify-content:space-between;gap:48px;flex-wrap:wrap}
.f-brand .mark{
  color:#fff;font-weight:700;letter-spacing:.16em;font-size:18px;
  display:block;margin-bottom:6px;
}
.f-brand .sub{font-size:14px}
.f-brand .quote{font-family:var(--serif);color:var(--gold-soft);margin:20px 0 0;font-size:15.5px}
.site-footer nav ul{list-style:none;margin:0;padding:0;display:grid;gap:11px}
.site-footer nav a{text-decoration:none;color:rgba(255,255,255,.78);font-size:15px}
.site-footer nav a:hover{color:var(--gold)}
.f-bottom{
  margin-top:54px;padding-top:22px;
  border-top:1px solid rgba(255,255,255,.12);
  display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
  font-size:13.5px;color:rgba(255,255,255,.55);
}

/* --------------------------------------------------------------------------
   Page 404
   -------------------------------------------------------------------------- */

.error-page{
  min-height:calc(100vh - var(--nav-h));
  display:flex;align-items:center;text-align:center;padding:80px 0;
}
.error-page .wrap{width:100%}
.error-page .code{
  font-family:var(--serif);font-size:76px;line-height:1;
  color:var(--gold);margin:0 0 12px;
}
.error-page p{margin-left:auto;margin-right:auto}
