/*
Theme Name: Global Education Renewed FR Premium Mobile
Author: OpenAI
Description: Thème WordPress premium en français pour Global Education, avec UI mobile complète, menu burger premium, animations et modèle 30€ / 200€.
Version: 3.0.0
Text Domain: globaleducation-renewed
*/

:root{
  --ge-primary:#0b6f59;
  --ge-primary-dark:#064638;
  --ge-primary-soft:#dff0ea;
  --ge-accent:#d4b24e;
  --ge-accent-dark:#b9922e;
  --ge-bg:#f4f8f6;
  --ge-card:#ffffff;
  --ge-text:#183a31;
  --ge-muted:#61776f;
  --ge-line:rgba(10,70,56,.10);
  --ge-radius:24px;
  --ge-shadow:0 18px 44px rgba(6,70,56,.10);
  --ge-shadow-strong:0 24px 54px rgba(6,70,56,.16);
  --ge-mobile-shadow:0 18px 46px rgba(0,0,0,.22);
}

*,
*::before,
*::after{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--ge-text);
  line-height:1.65;
  background:
    radial-gradient(900px 480px at 100% 0%, rgba(212,178,78,.14), transparent 60%),
    linear-gradient(180deg, #fbfdfc 0%, var(--ge-bg) 100%);
}

body.menu-open{
  overflow:hidden;
}

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

a{
  text-decoration:none;
  color:var(--ge-primary);
  transition:color .2s ease, transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
a:hover{color:var(--ge-accent-dark)}

.container{
  width:min(1180px, calc(100% - 32px));
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:70;
  background:rgba(11,111,89,.96);
  backdrop-filter:blur(14px);
  box-shadow:0 10px 26px rgba(0,0,0,.08);
}
.site-header-inner{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.site-branding{
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.site-branding a{
  color:#fff;
  font-size:1.35rem;
  font-weight:800;
  letter-spacing:.02em;
}
.site-branding p{
  margin:3px 0 0;
  color:rgba(255,255,255,.75);
  font-size:.9rem;
}

.main-navigation{
  display:flex;
  align-items:center;
  gap:14px;
}
.main-navigation ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  align-items:center;
}
.main-navigation a{
  color:#fff;
  font-weight:700;
}
.main-navigation .menu-item-cta a{
  background:var(--ge-accent);
  color:#fff;
  padding:11px 18px;
  border-radius:999px;
  box-shadow:0 10px 20px rgba(212,178,78,.22);
}
.main-navigation .menu-item-cta a:hover{
  background:var(--ge-accent-dark);
  transform:translateY(-1px);
}

.mobile-nav-toggle{
  display:none;
  width:52px;
  height:52px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
  border-radius:18px;
  padding:0;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  position:relative;
  box-shadow:0 10px 24px rgba(0,0,0,.10);
}
.mobile-nav-toggle span{
  position:absolute;
  width:22px;
  height:2px;
  background:#fff;
  border-radius:999px;
  transition:transform .24s ease, opacity .24s ease, top .24s ease;
}
.mobile-nav-toggle span:nth-child(1){top:18px}
.mobile-nav-toggle span:nth-child(2){top:25px}
.mobile-nav-toggle span:nth-child(3){top:32px}
.mobile-nav-toggle.is-active span:nth-child(1){top:25px; transform:rotate(45deg)}
.mobile-nav-toggle.is-active span:nth-child(2){opacity:0}
.mobile-nav-toggle.is-active span:nth-child(3){top:25px; transform:rotate(-45deg)}

.mobile-menu-overlay{
  position:fixed;
  inset:0;
  background:rgba(5,28,22,.45);
  backdrop-filter:blur(6px);
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
  z-index:79;
}
.mobile-menu-overlay.is-visible{
  opacity:1;
  pointer-events:auto;
}

.mobile-nav-panel{
  position:fixed;
  top:0;
  right:0;
  width:min(92vw, 390px);
  height:100vh;
  background:
    radial-gradient(360px 220px at 100% 0%, rgba(212,178,78,.16), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,249,247,.98));
  box-shadow:var(--ge-mobile-shadow);
  transform:translateX(100%);
  transition:transform .3s ease;
  z-index:80;
  display:flex;
  flex-direction:column;
  overflow:auto;
}
.mobile-nav-panel.is-open{
  transform:translateX(0);
}
.mobile-nav-head{
  padding:22px 20px 14px;
  border-bottom:1px solid var(--ge-line);
}
.mobile-nav-eyebrow{
  display:inline-block;
  padding:7px 12px;
  border-radius:999px;
  background:var(--ge-primary-soft);
  color:var(--ge-primary);
  font-size:.82rem;
  font-weight:800;
  margin-bottom:10px;
}
.mobile-nav-title{
  margin:0;
  color:var(--ge-primary-dark);
  font-size:1.4rem;
  line-height:1.05;
}
.mobile-nav-subtitle{
  margin:8px 0 0;
  color:var(--ge-muted);
  font-size:.95rem;
}
.mobile-nav-links{
  padding:18px;
  display:grid;
  gap:12px;
}
.mobile-nav-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 18px;
  border-radius:18px;
  background:#fff;
  color:var(--ge-primary-dark);
  font-weight:800;
  box-shadow:0 10px 24px rgba(6,70,56,.08);
}
.mobile-nav-link small{
  display:block;
  color:var(--ge-muted);
  font-weight:600;
  margin-top:2px;
}
.mobile-nav-arrow{
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--ge-primary-soft);
  color:var(--ge-primary);
  font-weight:900;
  flex:0 0 auto;
}
.mobile-nav-cta{
  padding:18px;
  margin-top:auto;
  border-top:1px solid var(--ge-line);
  display:grid;
  gap:12px;
}
.mobile-nav-card{
  background:linear-gradient(135deg, var(--ge-primary) 0%, #148065 100%);
  color:#fff;
  border-radius:24px;
  padding:18px;
  box-shadow:0 14px 34px rgba(6,70,56,.18);
}
.mobile-nav-card h4{
  margin:0 0 8px;
  font-size:1.15rem;
}
.mobile-nav-card p{
  margin:0 0 14px;
  color:rgba(255,255,255,.9);
  font-size:.94rem;
}

.hero{
  position:relative;
  overflow:hidden;
  padding:90px 0 84px;
  color:#fff;
  background:
    radial-gradient(620px 320px at 88% 24%, rgba(255,255,255,.16), transparent 60%),
    linear-gradient(135deg, var(--ge-primary) 0%, #148065 100%);
}
.hero::before{
  content:"";
  position:absolute;
  inset:auto -110px -110px auto;
  width:340px;
  height:340px;
  border-radius:50%;
  background:rgba(212,178,78,.18);
  filter:blur(8px);
  animation:floatGlow 7s ease-in-out infinite;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:34px;
  align-items:center;
}
.hero-badge{
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  margin-bottom:18px;
  font-size:.95rem;
}
.hero h1{
  margin:0 0 18px;
  font-size:clamp(2.6rem,6vw,5.2rem);
  line-height:.94;
  letter-spacing:-.05em;
}
.hero p{
  margin:0 0 24px;
  font-size:1.08rem;
  color:rgba(255,255,255,.92);
  max-width:690px;
}
.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:12px 22px;
  border-radius:999px;
  font-weight:800;
  transition:.2s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  background:var(--ge-accent);
  color:#fff;
  box-shadow:0 12px 24px rgba(212,178,78,.24);
}
.btn-primary:hover{
  background:var(--ge-accent-dark);
  color:#fff;
}
.btn-secondary{
  background:rgba(255,255,255,.12);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
}
.btn-secondary:hover{
  background:rgba(255,255,255,.18);
  color:#fff;
}

.hero-panel{
  background:rgba(255,255,255,.97);
  color:var(--ge-text);
  border-radius:30px;
  padding:26px;
  box-shadow:var(--ge-shadow-strong);
}
.hero-panel h3{
  margin:0 0 10px;
  color:var(--ge-primary-dark);
}
.hero-list{
  list-style:none;
  margin:14px 0 0;
  padding:0;
}
.hero-list li{
  position:relative;
  padding-left:30px;
  margin-bottom:12px;
}
.hero-list li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  width:22px;
  height:22px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(11,111,89,.12);
  color:var(--ge-primary);
  font-weight:800;
}

.section{padding:76px 0}
.section-sm{padding:56px 0}
.section-title{
  margin:0 0 12px;
  color:var(--ge-primary-dark);
  font-size:clamp(1.9rem,4vw,3.1rem);
  line-height:1.04;
}
.section-lead{
  margin:0 0 30px;
  color:var(--ge-muted);
  max-width:800px;
}
.grid-2{display:grid; grid-template-columns:repeat(2,1fr); gap:24px}
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:24px}
.grid-4{display:grid; grid-template-columns:repeat(4,1fr); gap:20px}

.card,
.stat-card,
.step-card,
.service-card,
.page-card,
.post-card,
.faq-item,
.pricing-card{
  transition:transform .28s ease, box-shadow .28s ease, opacity .6s ease, translate .6s ease;
}

.card{
  background:var(--ge-card);
  border-radius:var(--ge-radius);
  box-shadow:var(--ge-shadow);
  padding:26px;
}
.card:hover,
.stat-card:hover,
.step-card:hover,
.service-card:hover,
.faq-item:hover,
.page-card:hover,
.pricing-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 54px rgba(6,70,56,.15);
}
.card h3,.card h4{margin-top:0; color:var(--ge-primary-dark)}
.card p{margin-bottom:0; color:var(--ge-muted)}

.stat-card{
  background:#fff;
  border-radius:22px;
  box-shadow:var(--ge-shadow);
  padding:22px;
  text-align:center;
}
.stat-number{
  font-size:2rem;
  line-height:1;
  font-weight:900;
  color:var(--ge-primary);
  margin-bottom:10px;
}
.stat-label{
  color:var(--ge-muted);
  font-weight:700;
}

.step-grid{
  counter-reset:step;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:20px;
}
.step-card{
  position:relative;
  background:#fff;
  border-radius:22px;
  box-shadow:var(--ge-shadow);
  padding:30px 20px 22px;
}
.step-card::before{
  counter-increment:step;
  content:counter(step);
  position:absolute;
  top:-16px;
  left:20px;
  width:38px;
  height:38px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--ge-accent);
  color:#fff;
  font-weight:800;
  box-shadow:0 10px 24px rgba(212,178,78,.25);
}
.step-card h4{
  margin:0 0 10px;
  color:var(--ge-primary-dark);
}
.step-card p{
  margin:0;
  color:var(--ge-muted);
}

.service-card{
  background:#fff;
  border-radius:24px;
  box-shadow:var(--ge-shadow);
  padding:26px;
  border-top:5px solid var(--ge-accent);
}
.service-card h3{
  margin:0 0 10px;
  color:var(--ge-primary-dark);
}
.service-card p{
  margin:0 0 14px;
  color:var(--ge-muted);
}
.mini-tag{
  display:inline-block;
  padding:6px 11px;
  border-radius:999px;
  background:var(--ge-primary-soft);
  color:var(--ge-primary);
  font-size:.86rem;
  font-weight:700;
}

.pricing-card{
  background:#fff;
  border-radius:28px;
  box-shadow:var(--ge-shadow);
  padding:30px;
  position:relative;
  overflow:hidden;
}
.pricing-card.featured{
  border:2px solid rgba(212,178,78,.55);
  box-shadow:0 26px 60px rgba(6,70,56,.15);
}
.pricing-card.featured::after{
  content:"Recommandé";
  position:absolute;
  top:16px;
  right:-32px;
  background:var(--ge-accent);
  color:#fff;
  padding:7px 40px;
  font-size:.78rem;
  font-weight:800;
  transform:rotate(35deg);
}
.price{
  font-size:3rem;
  font-weight:900;
  line-height:1;
  color:var(--ge-primary-dark);
  margin:10px 0 14px;
}

.cta-band{
  background:linear-gradient(135deg, var(--ge-primary) 0%, #148065 100%);
  color:#fff;
  border-radius:32px;
  padding:34px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}
.cta-band h3{
  margin:0 0 8px;
  font-size:1.8rem;
}
.cta-band p{
  margin:0;
  color:rgba(255,255,255,.9);
}

.page-hero{
  padding:66px 0 40px;
  border-bottom:1px solid var(--ge-line);
  background:
    radial-gradient(700px 220px at 95% 0%, rgba(212,178,78,.12), transparent 60%),
    linear-gradient(180deg, #f8fbfa 0%, var(--ge-bg) 100%);
}
.page-hero h1{
  margin:0 0 12px;
  font-size:clamp(2.2rem,5vw,4rem);
  line-height:1;
  color:var(--ge-primary-dark);
}
.page-hero p{
  margin:0;
  max-width:820px;
  color:var(--ge-muted);
}

.site-content{padding:46px 0}
.page-card,.post-card{
  background:#fff;
  border-radius:24px;
  box-shadow:var(--ge-shadow);
  padding:30px;
  margin-bottom:24px;
}
.post-card h2{margin-top:0}
.entry-meta{
  color:var(--ge-muted);
  font-size:.95rem;
  margin-bottom:14px;
}
.faq-item{
  background:#fff;
  border-radius:20px;
  box-shadow:var(--ge-shadow);
  padding:24px;
}
.faq-item h3{
  margin:0 0 10px;
  color:var(--ge-primary-dark);
}
.contact-list{
  list-style:none;
  padding:0;
  margin:0;
}
.contact-list li{
  padding:12px 0;
  border-bottom:1px solid var(--ge-line);
}
.contact-list li:last-child{border-bottom:0}

.fake-form{
  display:grid;
  gap:14px;
}
.fake-form input,
.fake-form textarea,
.fake-form select{
  width:100%;
  border:1px solid var(--ge-line);
  border-radius:14px;
  padding:14px 16px;
  font:inherit;
  color:var(--ge-text);
  background:#fff;
}
.fake-form textarea{
  min-height:150px;
  resize:vertical;
}

.reveal{
  opacity:0;
  transform:translateY(22px);
}
.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

.mobile-bottom-bar{
  display:none;
}

.site-footer{
  background:linear-gradient(180deg, var(--ge-primary-dark) 0%, #042920 100%);
  color:rgba(255,255,255,.88);
  padding:40px 0;
  margin-top:40px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr;
  gap:28px;
}
.site-footer h4{margin-top:0; color:#fff}
.site-footer a{color:#fff}
.legal{
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.7);
  font-size:.92rem;
}

@keyframes floatGlow{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-14px)}
}

@media (max-width:1024px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .step-grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:900px){
  .container{
    width:min(100% - 20px, 1180px);
  }

  .site-header{
    border-bottom-left-radius:22px;
    border-bottom-right-radius:22px;
  }
  .site-header-inner{
    min-height:76px;
    gap:12px;
  }

  .site-branding a{
    font-size:1.08rem;
  }
  .site-branding p{
    font-size:.8rem;
    max-width:180px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .desktop-menu{
    display:none !important;
  }

  .mobile-nav-toggle{
    display:inline-flex;
  }

  .hero{
    padding:56px 0 42px;
    border-bottom-left-radius:28px;
    border-bottom-right-radius:28px;
  }
  .hero-grid,
  .grid-2,
  .grid-3,
  .footer-grid,
  .cta-band{
    grid-template-columns:1fr;
    display:grid;
  }
  .hero h1{
    font-size:clamp(2rem, 10vw, 3rem);
    line-height:1;
  }
  .hero p{
    font-size:.98rem;
  }
  .hero-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .btn{
    width:100%;
  }
  .hero-panel{
    padding:22px;
    border-radius:26px;
  }

  .section{
    padding:52px 0;
  }
  .section-sm{
    padding:38px 0;
  }

  .grid-4,
  .step-grid{
    grid-template-columns:1fr;
  }

  .card,
  .stat-card,
  .step-card,
  .service-card,
  .pricing-card,
  .page-card,
  .post-card,
  .faq-item{
    border-radius:22px;
  }

  .pricing-card.featured::after{
    right:-40px;
    top:18px;
    font-size:.72rem;
  }

  .page-hero{
    padding:42px 0 26px;
  }

  .mobile-bottom-bar{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    position:fixed;
    left:12px;
    right:12px;
    bottom:12px;
    z-index:75;
    background:rgba(255,255,255,.88);
    backdrop-filter:blur(14px);
    padding:10px;
    border-radius:22px;
    box-shadow:0 18px 46px rgba(0,0,0,.18);
    border:1px solid rgba(255,255,255,.7);
  }
  .mobile-bottom-bar .btn{
    min-height:46px;
    font-size:.92rem;
    padding:10px 14px;
  }

  .site-footer{
    padding-bottom:110px;
  }
}

@media (max-width:640px){
  .site-branding{
    max-width:68%;
  }
}
