/*
 Theme Name: Neve Child
 Template: neve
*/

/* ==================================================
   1) VARIABLES & RESET
   ================================================== */
:root{
  --primary:#264154;
  --secondary:#d29c2c;
  --light:#ffffff;
  --dark:#1b2430;
  --gray:#f6f8fa;
  --transition:all .3s ease;
  --maxw:2400px;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  line-height:1.6;
  color:var(--dark);
  font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;

  /* === FOND BLANC + IMAGE SUBTILE === */
  background-color: var(--light);
  background-image:
    linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)),  /* voile blanc */
    url("https://louisc93.sg-host.com/wp-content/uploads/2025/10/background-page-AAA-scaled.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: scroll;
}

/* Parallax léger sur écrans larges */
@media (min-width:1024px){
  body{
    background-attachment: fixed;
  }
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

p{
  font-size: 1.1rem;
}

a{
  color:var(--primary);
  text-decoration:none;
  transition:var(--transition);
}

a:hover{
  color:var(--secondary);
}

h1,h2,h3,h4,h5,h6{
  line-height:1.2;
}

/* Base titres desktop */
h1{font-size:2.2rem;}
h2{font-size:1.7rem;}
h3{font-size:1.4rem;}

/* ==================================================
   2) STRUCTURE & GRILLES
   ================================================== */

.text-center{text-align:center}
.text-right{text-align:right}
.text-left{text-align:left}


/* ==================================================
   3) BOUTONS GLOBAUX
   ================================================== */
.btn{
  display:inline-block;
  color: var(--primary);
  background-color: var(--secondary);
  padding:10px 22px;
  border-radius:2px;
  font-weight:600;
  transition:var(--transition);
}

.btn:hover{
  background: transparent;
}

.btn-primary{
  background:#D29C2C;
  color:var(--light);
}

.btn-primary:hover{
  background:#264154;
  color:#D29C2C;
}


/* ==================================================
   4) BOUTON FLOTTANT
   ================================================== */

.aa-support-button {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.3rem;
  border-radius: 2px;

  /* verre flou */
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.55);

  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.aa-support-button:hover {
  background: rgba(255, 255, 255, 0.26);
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

/* petit focus visible au clavier */
.aa-support-button:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

/* mobile bouton flottant */
@media (max-width: 480px) {
  .aa-support-button {
    right: 0.8rem;
    bottom: 0.8rem;
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  }
}

/* très petits écrans */
@media (max-width: 360px) {
  .aa-support-button {
    right: 0.6rem;
    bottom: 0.6rem;
    font-size: 0.85rem;
    padding: 0.5rem 0.9rem;
  }
}


/* ==================================================
   5) PIED DE PAGE
   ================================================== */

footer.site-footer{
  background:var(--primary);
  color:var(--light);
  text-align:left;
  padding-top:60px;
  padding-inline:10px;
  padding-bottom:30px;
  font-size:.9rem;
}

footer a{
  color:var(--light);
  text-decoration:underline;
}

footer a:hover{
  color:var(--secondary);
}

.site-footer{
  background: var(--primary);
  color: var(--light);
  padding: 56px 20px 24px;
  font-size: .95rem;
}

/* Row principale */
.footer-row{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

/* Colonnes */
.f-col{
  flex: 1 1 0;
  min-width: 240px;
}

.f-branding{
  flex: 1.2 1 0;
}

/* Logo */
.site-footer .footer-logo{
  display:block;
  max-width:170px;
  height:auto;
  margin-bottom:12px;
}

.site-footer img{
  max-height:none;
}

/* Baseline + réseaux */
.footer-tagline{
  color:#e0e7ed;
  line-height:1.6;
  margin:0 0 10px;
  text-align:left;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  text-decoration: none;
}

.social-ic__svg {
  width: 100%;
  height: 100%;
}

.social-ic:hover,
.social-ic:focus-visible {
  transform: translateY(-1px);
}



/* Liens */
.f-links h3,
.f-contact h3{
  color: var(--secondary);
  font-size:1.1rem;
  margin:0 0 12px;
}

.footer-menu{
  list-style:none;
  margin:0;
  padding:0;
  columns: 2;
  column-gap: 28px;
}

.footer-menu li{
  break-inside: avoid;
  text-align:left;
}

.footer-menu a{
  color:#f7f9fb;
  text-decoration:none;
}

.footer-menu a:hover{
  color: var(--secondary);
}

/* Contact */
.f-contact address{
  font-style:normal;
  color:#e0e7ed;
  line-height:1.7;
  margin-bottom:12px;
}

.f-contact a{
  color:#fff;
  text-decoration: underline;
}

.f-contact a:hover{
  color: var(--secondary);
}

.footer-cta{
  margin-top:6px;
}

/* Bas de page */
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 32px;
}

.footer-bottom-row{
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-top:18px;
}

.footer-bottom a{
  color:#dbe3ea;
  text-decoration:none;
}

.footer-bottom a:hover{
  color:#fff;
}

.footer-bottom .legal-links{
  margin:0;
  display:flex;
  gap:10px;
  color:#cfd8e1;
}

/* =============================================
   RESPONSIVE – Footer
   ============================================= */

@media (max-width: 1024px) {
  .footer-menu {
    columns: 2;
  }
}

@media (max-width: 920px) {
  .footer-row {
    flex-direction: column;
    text-align: center;
    gap: 28px;
    display: flex;
    align-items: center;
  }

  .site-footer .footer-logo {
    margin: 0 auto 12px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
  }
}


@media (max-width: 768px) {
  /* Footer global plus compact */
  .site-footer {
    padding: 32px 16px 18px;
    font-size: 0.9rem;
  }

  /* Colonnes empilées, moins d’espace vertical */
  .footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  /* Branding réduit */
  .site-footer .footer-logo {
    max-width: 140px;
    margin: 0 auto 8px;
  }

  .footer-tagline {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 8px;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
    gap: 8px;
  }

  .social-ic {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
}


/* ==================================================
   6) HELPERS / UTILITAIRES
   ================================================== */

.shadow-sm{
  box-shadow:0 2px 8px rgba(0,0,0,.05);
}

.shadow-md{
  box-shadow:0 4px 14px rgba(0,0,0,.08);
}

.rounded{border-radius:1px}
.rounded-xl{border-radius:1px}

.mt-0{margin-top:0!important}
.mt-1{margin-top:10px!important}
.mt-2{margin-top:20px!important}
.mb-2{margin-bottom:20px!important}


/* ==================================================
   7) TYPO
   ================================================== */
.lead{
  font-size:1.25rem;
  font-weight:300;
}

.small{
  font-size:.875rem;
}


/* ==================================================
   8) RESPONSIVE GLOBAL
   ================================================== */

/* Global footer padding déjà géré plus haut mais on garde ce break simple */
@media (max-width:900px){
  footer.site-footer{
    padding:40px 16px;
  }
}

/* ==================================================
   9) ACCESSIBILITÉ & FOCUS
   ================================================== */

.screen-reader-text{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

.screen-reader-text:focus{
  position:static;
  width:auto;
  height:auto;
  padding:8px 12px;
  background:var(--primary);
  color:#fff;
  z-index:10000;
  outline:none;
}

.is-disabled-parent > a {
  pointer-events: none;
  cursor: default;
  color: #6c7884;
  text-decoration: none;
}

/* Focus plus visible (3px, contraste) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible{
  outline:3px solid var(--secondary);
  outline-offset:3px;
  border-radius:2px;
}

/* Réduction des animations si demandé */
@media (prefers-reduced-motion:reduce){
  *{
    transition:none!important;
    animation:none!important;
  }
}


/* ==================================================
   10) TYPO MOBILE / RÉDUCTIONS
   ================================================== */

@media (max-width: 768px){

  body{
    font-size: 1rem; /* ~16px, lisible sur mobile */
    line-height: 1.6;
  }

  p{
    font-size: 1rem;
  }

  h1{font-size:1.8rem;}
  h2{font-size:1.5rem;}
  h3{font-size:1.25rem;}

  .btn{
    padding:8px 18px;
    font-size:0.95rem;
  }

  .mt-1{margin-top:8px!important;}
  .mt-2{margin-top:14px!important;}
  .mb-2{margin-bottom:14px!important;}
}


/* ==================================================
   10.1) BREAKPOINT MAX-WIDTH: 600PX
   ================================================== */

@media (max-width: 600px) {

  body{
    font-size: 0.95rem;
  }

  p{
    font-size: 0.95rem;
  }

  h1{font-size:1.6rem;}
  h2{font-size:1.35rem;}
  h3{font-size:1.15rem;}

  .site-header .header-inner{
    padding-inline: 16px;
  }

  .home-parcours-inner,
  .home-academie-inner,
  .home-instagram-inner,
  .home-decouvrir-inner,
  .home-partners-inner,
  .home-reviews-inner{
    padding-inline: 16px;
  }

  .home-parcours-grid,
  .home-decouvrir-grid{
    grid-template-columns: 1fr;
    row-gap: 18px;
  }
}


/* ==================================================
   10.2) BREAKPOINT MAX-WIDTH: 480PX
   ================================================== */

@media (max-width: 480px) {

  body{
    font-size: 0.9rem;
  }

  p{
    font-size: 0.9rem;
  }

  h1{font-size:1.45rem;}
  h2{font-size:1.25rem;}
  h3{font-size:1.1rem;}

  .btn{
    padding:7px 16px;
    font-size:0.9rem;
  }

  .home-hero__text h1{
    font-size: 1.4rem;
  }

  .home-parcours-subtitle,
  .home-decouvrir-subtitle,
  .home-academie-intro,
  .home-instagram-text,
  .home-reviews-intro{
    font-size: 0.95rem;
  }

  .footer-menu{
    columns: 1;
  }
}