/* ==========================================================================
   GEOAÏKI — Page d'accueil
   ========================================================================== */
body.p-accueil a {
  color: #E8623D;
  text-decoration: none;
}

body.p-accueil a:hover {
  color: #cf5230;
}

body.p-accueil .hbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body.p-accueil nav.desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

body.p-accueil nav.desktop a {
  color: rgba(255,255,255,.92);
  font-weight: 600;
  font-size: 15px;
}

body.p-accueil nav.desktop a:hover {
  color: #E8623D;
}

body.p-accueil nav.desktop a.active {
  color: #E8623D;
  border-bottom: 2px solid #E8623D;
  padding: 24px 0 22px;
}

body.p-accueil #burger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}

body.p-accueil #mobileMenu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 6px 24px 22px;
  background: #142B4C;
  border-top: 1px solid rgba(255,255,255,.12);
}

body.p-accueil #mobileMenu a {
  color: rgba(255,255,255,.92);
  font-weight: 600;
  font-size: 17px;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

body.p-accueil #mobileMenu a.active {
  color: #E8623D;
}

body.p-accueil .hero {
  background: #142B4C;
  color: #fff;
  padding: clamp(44px,6vw,76px) 0;
}

body.p-accueil .hero .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(40px,6vw,72px);
}

body.p-accueil .hero .text {
  flex: 1 1 440px;
  min-width: 0;
}

body.p-accueil .pill {
  display: inline-block;
  color: #E8623D;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid rgba(232,98,61,.45);
  border-radius: 999px;
  padding: 7px 16px;
  margin: 0 0 18px;
  animation: fadeUp .6s ease both;
}

body.p-accueil .hero h1 {
  margin: 0 0 18px;
  font-family: 'Sora',sans-serif;
  font-weight: 800;
  font-size: clamp(31px,4.1vw,52px);
  line-height: 1.12;
  text-wrap: balance;
  animation: fadeUp .6s ease .12s both;
}

body.p-accueil .hero p.sub {
  margin: 0 0 36px;
  font-size: clamp(16px,1.5vw,19px);
  line-height: 1.65;
  color: rgba(255,255,255,.82);
  max-width: 560px;
  text-wrap: pretty;
  animation: fadeUp .6s ease .24s both;
}

body.p-accueil .hero .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeUp .6s ease .36s both;
}

body.p-accueil .btn-primary {
  background: #E8623D;
  color: #fff!important;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(232,98,61,.4);
  transition: all .15s ease;
}

body.p-accueil .btn-primary:hover {
  background: #cf5230;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(232,98,61,.45);
}

body.p-accueil .btn-outline {
  border: 1.5px solid rgba(255,255,255,.7);
  color: #fff!important;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 12px;
  transition: all .15s ease;
}

body.p-accueil .btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}

body.p-accueil .hero .visual {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  justify-content: center;
  animation: fadeUp .8s ease .3s both;
}

body.p-accueil .services {
  background: #F5F6F8;
  padding: clamp(64px,8vw,96px) 0;
}

body.p-accueil .kicker {
  margin: 0 0 12px;
  color: #E8623D;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.p-accueil .services h2,
body.p-accueil .contact h2 {
  margin: 0 0 16px;
  font-family: 'Sora',sans-serif;
  font-weight: 700;
  font-size: clamp(28px,3.4vw,40px);
  line-height: 1.2;
}

body.p-accueil .services p.sub {
  margin: 0 0 48px;
  color: #5B6472;
  font-size: 17px;
  line-height: 1.65;
  max-width: 640px;
  text-wrap: pretty;
}

body.p-accueil .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(300px,100%),1fr));
  gap: 24px;
}

body.p-accueil .card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(20,43,76,.07);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all .18s ease;
}

body.p-accueil .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(20,43,76,.12);
}

body.p-accueil .card .icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: rgba(232,98,61,.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.p-accueil .card h3 {
  margin: 0;
  font-family: 'Sora',sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
}

body.p-accueil .card p {
  margin: 0;
  color: #5B6472;
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
}

body.p-accueil .more {
  margin-top: 40px;
  text-align: center;
}

body.p-accueil .more a {
  color: #E8623D;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 2px solid #E8623D;
  padding-bottom: 3px;
}

body.p-accueil .stats {
  background: #142B4C;
  color: #fff;
  padding: clamp(56px,7vw,80px) 0;
}

body.p-accueil .stats .grid4 {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(200px,100%),1fr));
  gap: 36px;
  text-align: center;
}

body.p-accueil .stats .num {
  margin: 0 0 8px;
  font-family: 'Sora',sans-serif;
  font-weight: 800;
  font-size: clamp(38px,4vw,52px);
  color: #E8623D;
}

body.p-accueil .stats .lbl {
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: 15.5px;
}

body.p-accueil .ctaband {
  background: #E8623D;
  color: #fff;
  padding: clamp(56px,7vw,80px) 0;
}

body.p-accueil .ctaband .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

body.p-accueil .ctaband h2 {
  margin: 0;
  font-family: 'Sora',sans-serif;
  font-weight: 700;
  font-size: clamp(26px,3.2vw,38px);
  line-height: 1.25;
}

body.p-accueil .btn-white {
  background: #fff;
  color: #142B4C!important;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(20,43,76,.25);
  transition: all .15s ease;
  white-space: nowrap;
}

body.p-accueil .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20,43,76,.3);
}

body.p-accueil .contact {
  background: #fff;
  padding: clamp(64px,8vw,96px) 0;
}

body.p-accueil .contact .row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(40px,6vw,72px);
  align-items: flex-start;
}

body.p-accueil .contact .intro {
  flex: 1 1 340px;
  min-width: 0;
}

body.p-accueil .contact .intro p {
  margin: 0 0 24px;
  color: #5B6472;
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
}

body.p-accueil .contact .intro a {
  color: #E8623D;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 2px solid #E8623D;
  padding-bottom: 3px;
}

body.p-accueil form {
  flex: 1 1 420px;
  min-width: 0;
  background: #F5F6F8;
  border-radius: 18px;
  padding: clamp(24px,4vw,40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body.p-accueil .frow {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(180px,100%),1fr));
  gap: 18px;
}

body.p-accueil label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-weight: 600;
  font-size: 14px;
  color: #142B4C;
}

body.p-accueil input,
body.p-accueil textarea {
  border: 1.5px solid #D8DDE4;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: #142B4C;
}

body.p-accueil input:focus,
body.p-accueil textarea:focus {
  border-color: #E8623D;
  outline: none;
}

body.p-accueil textarea {
  resize: vertical;
}

body.p-accueil #formOk {
  display: none;
  margin: 0;
  background: rgba(232,98,61,.1);
  border: 1.5px solid #E8623D;
  border-radius: 12px;
  padding: 14px 18px;
  color: #142B4C;
  font-weight: 600;
  font-size: 15px;
}

body.p-accueil .fgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(220px,100%),1fr));
  gap: 40px;
  padding-bottom: 48px;
}

body.p-accueil .fcol {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.p-accueil .fcol h3 {
  margin: 0 0 6px;
  font-family: 'Sora',sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #E8623D;
}

body.p-accueil .fcol a {
  color: rgba(255,255,255,.85);
  font-size: 14.5px;
}

body.p-accueil .fcol a:hover {
  color: #E8623D;
}

body.p-accueil .social {
  display: flex;
  gap: 12px;
}

body.p-accueil .social a {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.p-accueil .social a:hover {
  border-color: #E8623D;
  background: rgba(232,98,61,.12);
}

body.p-accueil .fbottom {
  border-top: 1px solid rgba(255,255,255,.12);
}

body.p-accueil .fbottom .row {
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

body.p-accueil .fbottom p,
body.p-accueil .fbottom a {
  margin: 0;
  color: rgba(255,255,255,.55);
  font-size: 13px;
}

body.p-accueil .hero .kicker {
  animation: geo-entree .7s cubic-bezier(.22,.61,.36,1) both;
}

body.p-accueil .hero h1 {
  animation: geo-entree .8s cubic-bezier(.22,.61,.36,1) .08s both;
}

body.p-accueil .hero .sub {
  animation: geo-entree .8s cubic-bezier(.22,.61,.36,1) .18s both;
}

body.p-accueil .hero .cta-btn,
body.p-accueil .hero .btn-outline {
  animation: geo-entree .8s cubic-bezier(.22,.61,.36,1) .28s both;
}

body.p-accueil .hero svg:not(.brand__marque) {
  animation: geo-flotte 7s ease-in-out infinite;
}

/* Cartes de services : élévation plus marquée au survol */
body.p-accueil .card {
  transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s ease,border-color .28s ease;
}

body.p-accueil .card:hover {
  transform: translateY(-7px);
}

body.p-accueil .card .icon {
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .3s ease;
}

body.p-accueil .card:hover .icon {
  transform: scale(1.12) rotate(-5deg);
}

/* Chiffres clés : léger agrandissement au survol */
body.p-accueil .stats .num {
  display: inline-block;
  transition: transform .3s ease;
}

body.p-accueil .stats > .container > div:hover .num {
  transform: scale(1.08);
}

/* Lien « voir le détail » : la flèche avance */
body.p-accueil .more a {
  display: inline-block;
  transition: transform .25s ease,color .2s;
}

body.p-accueil .more a:hover {
  transform: translateX(5px);
}

/* ==========================================================================
   Adaptations aux petits écrans
   ========================================================================== */
@media(max-width:919px) {
  body.p-accueil nav.desktop {
    display: none;
  }

  body.p-accueil #burger {
    display: block;
  }

  body.p-accueil #mobileMenu.open {
    display: flex;
  }
}

@media (prefers-reduced-motion:reduce) {
  body.p-accueil .hero .kicker,
  body.p-accueil .hero h1,
  body.p-accueil .hero .sub,
  body.p-accueil .hero .cta-btn,
  body.p-accueil .hero .btn-outline,
  body.p-accueil .hero svg:not(.brand__marque) {
    animation: none!important;
  }

  body.p-accueil .card:hover,
  body.p-accueil .card:hover .icon {
    transform: none!important;
  }
}

/* ==========================================================================
   Hero : tenir dans la fenêtre dès le premier écran
   ========================================================================== */
@media (max-width:919px) {
  body.p-accueil .hero {
    padding: 32px 0 38px;
  }

/* L'illustration est décorative : on la réduit pour que le message
     et les boutons restent visibles dès l'arrivée sur le site. */
  body.p-accueil .hero .visual svg {
    max-width: 215px;
  }

  body.p-accueil .hero h1 {
    font-size: clamp(27px,6.4vw,34px);
    margin-bottom: 14px;
  }

  body.p-accueil .hero .sub {
    font-size: 15px;
    line-height: 1.58;
    margin-bottom: 18px;
  }

  body.p-accueil .hero .visual {
    margin-top: 18px;
  }
}

/* Écrans peu hauts (portables 768 px et moins) */
@media (min-width:920px) and (max-height:800px) {
  body.p-accueil .hero {
    padding: 38px 0;
  }

  body.p-accueil .hero h1 {
    font-size: clamp(30px,3.5vw,46px);
    margin-bottom: 16px;
  }

  body.p-accueil .hero .sub {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
  }
}
