/* ==========================================
   STATIC-PAGES.CSS
   CSS unifié pour FAQ, Confidentialité, Cookies, À Propos
   Optimisé SEO Google - Typography cohérente
   ========================================== */

/* ======  RESET  ====== */
*{box-sizing:border-box;margin:0;padding:0;
  font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-weight:300;
  letter-spacing:.5px;
}
a{color:inherit;text-decoration:none;}

/* ======  VARIABLES  ====== */
:root{
  --white:#ffffff;
  --black:#000000;
  --dark-gray:#333333;
  --medium-gray:#cccccc;
  --light-gray:#f5f5f5;
  --text-gray:#777777;
}

/* ======  BODY  ====== */
body{
  padding-top:80px;
  background:#fff;
  line-height:1;
}

/* ======  NAVBAR BLANC FIXE  ====== */
header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
  background:var(--white);
  border-bottom:1px solid var(--medium-gray);
}

.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 40px;
  max-width:1600px;
  margin:0 auto;
  height:80px;
}

.navbar-left{
  flex:0 0 auto;
}

.navbar-left .logo{
  height:300px;
  width:auto;
  display:block;
  object-fit:contain;
}

/* ======  BARRE DE RECHERCHE  ====== */
.navbar-center{
  flex:0 0 auto;
  width:450px;
}

.search-form{
  display:flex;
  align-items:stretch;
  border:1px solid var(--medium-gray);
  background:var(--white);
  height:45px;
}

.search-form input{
  flex:1;
  padding:0 20px;
  border:none;
  background:transparent;
  font-size:.95rem;
  outline:none;
  color:var(--black);
}

.search-form input::placeholder{
  color:var(--text-gray);
}

.search-form button{
  flex:0 0 auto;
  width:50px;
  background:transparent;
  border:none;
  border-left:1px solid var(--medium-gray);
  cursor:pointer;
  color:var(--black);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .3s ease;
}

.search-form button:hover{
  background:var(--light-gray);
}

.search-form:focus-within{
  border-color:var(--dark-gray);
}

.navbar-right{
  display:flex;
  gap:30px;
  align-items:center;
}

.icon-link{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--black);
  font-size:.9rem;
  transition:color .3s ease;
}

.icon-link:hover{
  color:var(--dark-gray);
}

.icon-link i{
  font-size:1.3rem;
}

.icon-label{
  font-size:.85rem;
  letter-spacing:.5px;
}

.mobile-menu-toggle{
  display:none;
}

/* ======  CONTAINER & STATIC PAGE  ====== */
.container{
  max-width:1200px;
  margin:auto;
  padding:0 1rem;
}

.static-page{
  background:#fff;
  padding:3rem 2rem 4rem;
  min-height:60vh;
}

/* ======  TITRES  ====== */
.static-page h2{
  font-size:2.5rem;
  font-weight:200;
  letter-spacing:3px;
  text-align:center;
  margin-bottom:3rem;
  color:#111;
  text-transform:capitalize;
}

.static-page h3{
  font-size:1.1rem;
  font-weight:400;
  letter-spacing:.8px;
  color:#111;
  margin-bottom:.8rem;
  margin-top:2rem;
}

.static-page h4{
  font-size:1rem;
  font-weight:400;
  letter-spacing:.6px;
  color:#333;
  margin-bottom:.6rem;
  margin-top:1.5rem;
}

/* ======  SECTIONS DE CONTENU  ====== */
.static-page section{
  padding:2rem 0;
}

.static-page p{
  font-size:.95rem;
  line-height:1.7;
  color:var(--text-gray);
  font-weight:300;
  letter-spacing:.4px;
  margin-bottom:1rem;
}

.static-page strong{
  font-weight:500;
  color:#111;
}

/* ======  LISTES  ====== */
.static-page ul{
  list-style:none;
  padding-left:0;
  margin:1.5rem 0;
}

.static-page ul li{
  font-size:.95rem;
  line-height:1.7;
  color:var(--text-gray);
  padding-left:1.5rem;
  position:relative;
  margin-bottom:.8rem;
}

.static-page ul li::before{
  content:'•';
  position:absolute;
  left:0;
  color:#111;
  font-weight:400;
}

/* ======  FAQ ITEMS  ====== */
.faq-item{
  padding:2rem 0;
  border-bottom:none;
}

.faq-item h3{
  font-size:1.1rem;
  font-weight:400;
  letter-spacing:.8px;
  color:#111;
  margin-bottom:.8rem;
  margin-top:0;
}

.faq-item p{
  font-size:.95rem;
  line-height:1.7;
  color:var(--text-gray);
  font-weight:300;
  letter-spacing:.4px;
}

/* ======  DERNIÈRE MISE À JOUR  ====== */
.last-updated{
  font-size:.85rem;
  color:var(--text-gray);
  font-style:italic;
  text-align:center;
  margin-top:3rem;
  padding-top:2rem;
  border-top:1px solid var(--light-gray);
}

/* ======  BOUTONS CTA  ====== */
.cta-section{
  display:flex;
  justify-content:center;
  gap:1.5rem;
  margin-top:3rem;
  flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
  padding:12px 28px;
  font-size:.9rem;
  font-weight:300;
  letter-spacing:1px;
  text-transform:capitalize;
  border:1px solid;
  transition:all .3s ease;
  text-align:center;
  cursor:pointer;
}

.btn-primary{
  background:#111;
  color:#fff;
  border-color:#111;
}

.btn-primary:hover{
  background:#fff;
  color:#111;
}

.btn-secondary{
  background:#fff;
  color:#111;
  border-color:#111;
}

.btn-secondary:hover{
  background:#111;
  color:#fff;
}

/* ======  FLÈCHE DE RETOUR  ====== */
.page-header{
  display:flex;
  align-items:center;
  gap:1.5rem;
  margin:120px auto 0;
  max-width:1200px;
  padding:0 20px;
}

.back-button{
  width:auto;
  height:auto;
  border:none;
  background:transparent;
  color:#000;
  cursor:pointer;
  transition:all 0.3s ease;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.8rem;
  flex-shrink:0;
  padding:0;
}

.back-button:hover{
  color:#555;
  transform:translateX(-5px);
}

.back-button:active{
  transform:translateX(-8px);
}

.page-title-section{
  flex:1;
}

.page-title{
  font-size:2.5rem;
  font-weight:300;
  letter-spacing:2px;
  margin:0;
  text-align:left;
  color:#000;
}

.page-subtitle{
  font-size:1rem;
  color:#777;
  margin:0.5rem 0 0 0;
  text-align:left;
  letter-spacing:0.5px;
}

/* ======  FOOTER  ====== */
footer{
  background-color:var(--white);
  border-top:1px solid var(--medium-gray);
  padding:40px 20px;
  margin-top:auto;
}

.footer-nav{
  display:flex;
  justify-content:space-evenly;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
  max-width:1400px;
  margin:0 auto;
  text-transform:lowercase;
}

.footer-nav a{
  color:var(--black);
  font-size:0.85rem;
  font-weight:400;
  letter-spacing:1px;
  transition:all 0.3s ease;
  white-space:nowrap;
}

.footer-nav a:hover{
  color:var(--dark-gray);
  text-decoration:underline;
}

.footer-bottom{
  text-align:right;
  padding:20px 40px;
  background-color:transparent;
}

.footer-bottom p{
  margin:0;
  font-size:0.65rem;
  color:#000000;
  letter-spacing:0.5px;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablettes (768px - 1024px) */
@media (max-width: 1024px){
  body{
    padding-top:70px;
  }
  
  .navbar{
    padding:15px 30px;
    height:70px;
  }
  
  .navbar-left .logo{
    height:250px;
  }
  
  .navbar-center{
    width:350px;
  }
  
  .navbar-right{
    gap:20px;
  }
  
  .icon-label{
    display:none;
  }
  
  .static-page{
    padding:2.5rem 1.5rem 3.5rem;
  }
  
  .static-page h2{
    font-size:2.2rem;
    letter-spacing:2.5px;
    margin-bottom:2.5rem;
  }
  
  .static-page h3{
    font-size:1.05rem;
  }
  
  .static-page p{
    font-size:.9rem;
    line-height:1.65;
  }
  
  .cta-section{
    gap:1.2rem;
    margin-top:2.5rem;
  }
}

/* Tablettes petites et grandes mobiles (481px - 768px) */
@media (max-width: 768px){
  body{
    padding-top:60px;
  }
  
  .navbar{
    padding:12px 20px;
    height:60px;
  }
  
  .navbar-left .logo{
    height:200px;
  }
  
  .navbar-center{
    width:auto;
    margin:0 10px;
  }
  
  .search-form{
    border:none;
    background:transparent;
    height:auto;
  }
  
  .search-form input{
    display:none;
  }
  
  .search-form button{
    border:none;
    width:auto;
    padding:8px 12px;
    background:transparent;
    display:flex;
    align-items:center;
    gap:6px;
    font-size:.65rem;
    letter-spacing:.3px;
  }
  
  .search-form button::after{
    content:"recherche";
    font-size:.65rem;
    text-transform:lowercase;
  }
  
  .navbar-right{
    gap:15px;
  }
  
  .icon-link i{
    font-size:1.2rem;
  }
  
  .static-page{
    padding:2rem 1.2rem 3rem;
  }
  
  .static-page h2{
    font-size:1.8rem;
    letter-spacing:2px;
    margin-bottom:2rem;
  }
  
  .static-page h3{
    font-size:1rem;
    letter-spacing:.7px;
    margin-bottom:.7rem;
  }
  
  .static-page p{
    font-size:.88rem;
    line-height:1.6;
  }
  
  .cta-section{
    flex-direction:column;
    gap:1rem;
    margin-top:2rem;
  }
  
  .btn-primary,
  .btn-secondary{
    width:100%;
    max-width:300px;
    padding:14px 28px;
  }
  
  .page-header{
    gap:1rem;
    margin:90px auto 0;
    padding:0 15px;
  }
  
  .back-button{
    font-size:1.5rem;
  }
  
  .page-title{
    font-size:1.8rem;
    letter-spacing:1.5px;
  }
  
  .page-subtitle{
    font-size:0.9rem;
  }
  
  .footer-nav{
    flex-direction:column;
    gap:15px;
  }
  
  .footer-bottom{
    text-align:center;
    padding:15px 20px;
  }
}

/* Petits mobiles (320px - 480px) */
@media (max-width: 480px){
  body{
    padding-top:55px;
  }
  
  .navbar{
    padding:10px 15px;
    height:55px;
  }
  
  .navbar-left .logo{
    height:150px;
  }
  
  .search-form button{
    padding:6px 10px;
    gap:5px;
    font-size:.6rem;
  }
  
  .search-form button::after{
    font-size:.6rem;
  }
  
  .search-form button i{
    font-size:1rem;
  }
  
  .navbar-right{
    gap:10px;
  }
  
  .icon-link i{
    font-size:1.1rem;
  }
  
  .container{
    padding:0 .5rem;
  }
  
  .static-page{
    padding:1.5rem 1rem 2.5rem;
    min-height:50vh;
  }
  
  .static-page h2{
    font-size:1.5rem;
    letter-spacing:1.5px;
    margin-bottom:1.5rem;
  }
  
  .static-page h3{
    font-size:.95rem;
    letter-spacing:.6px;
    margin-bottom:.6rem;
  }
  
  .static-page p{
    font-size:.85rem;
    line-height:1.55;
    letter-spacing:.3px;
  }
  
  .cta-section{
    gap:.8rem;
    margin-top:1.5rem;
  }
  
  .btn-primary,
  .btn-secondary{
    padding:12px 24px;
    font-size:.85rem;
    letter-spacing:.8px;
  }
  
  .page-header{
    gap:0.8rem;
    margin:80px auto 0;
  }
  
  .back-button{
    font-size:1.3rem;
  }
  
  .back-button:hover{
    transform:translateX(-3px);
  }
  
  .page-title{
    font-size:1.5rem;
    letter-spacing:1px;
  }
  
  .page-subtitle{
    font-size:0.85rem;
  }
  
  .footer-nav a{
    font-size:.8rem;
  }
  
  .footer-bottom p{
    font-size:.6rem;
  }
}

/* Très petits écrans (< 360px) */
@media (max-width: 360px){
  body{
    padding-top:50px;
  }
  
  .navbar{
    height:50px;
  }
  
  .navbar-left .logo{
    height:120px;
  }
  
  .search-form button::after{
    font-size:.55rem;
  }
  
  .static-page h2{
    font-size:1.3rem;
    letter-spacing:1.2px;
  }
  
  .static-page h3{
    font-size:.9rem;
  }
  
  .static-page p{
    font-size:.82rem;
  }
  
  .btn-primary,
  .btn-secondary{
    padding:10px 20px;
    font-size:.82rem;
  }
  
  .back-button{
    font-size:1.2rem;
  }
  
  .page-title{
    font-size:1.3rem;
  }
  
  .page-subtitle{
    font-size:0.8rem;
  }
}

/* ==========================================
   OPTIMISATIONS SEO
   ========================================== */

/* Accessibilité - éléments cachés visuellement mais lisibles par screen readers */
.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border-width:0;
}

/* Performance - will-change pour les animations */
.back-button,
.icon-link,
.btn-primary,
.btn-secondary{
  will-change:transform;
}

/* SEO - Amélioration de la lisibilité */
.static-page{
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}