@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Roboto:wght@400;500;700&display=swap');

:root{
  --ink:#333333;
  --muted:#737373;
  --paper:#ffffff;
  --gray:#f2f2f2;
  --accent:#a5655f;
  --accent-dark:#8a534e;
  --footer-bg:#424242;
  --footer-text:#bdbdbd;
  --line:#e2e2e2;
  --max:1189px;
  --inset:1070px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--muted);font-family:Roboto,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:17px;line-height:1.5}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
a,button{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
::selection{background:var(--accent);color:#fff}
h1,h2,h3{font-family:"Playfair Display",Georgia,serif;font-weight:400;color:var(--accent);margin:0 0 17px;line-height:1.2}
h1{font-size:clamp(2.4rem,5vw,3.4rem)}
h2{font-size:clamp(1.7rem,3vw,2.25rem)}
h3{font-size:1.75rem}
p{margin:0 0 12px}
.container{width:min(var(--max),calc(100% - 48px));margin-inline:auto}
.container-inset{width:min(var(--inset),calc(100% - 48px));margin-inline:auto}
.skip-link{position:absolute;left:-9999px;top:auto}.skip-link:focus{left:16px;top:16px;background:#fff;padding:10px 14px;z-index:999;border-radius:4px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 28px;border-radius:0;border:1px solid transparent;font-weight:500;font-size:1rem;font-family:Roboto,sans-serif;cursor:pointer;transition:.2s}
.btn-solid{background:var(--accent);color:#fff}
.btn-solid:hover{background:var(--accent-dark)}
.btn-outline{background:transparent;border-color:var(--accent);color:var(--accent)}
.btn-outline:hover{background:var(--accent);color:#fff}
.btn-outline-light{background:transparent;border-color:#fff;color:#fff}
.btn-outline-light:hover{background:#fff;color:var(--accent)}
.btn-stack{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.btn-stack.center{align-items:center}

/* Header */
.site-header{background:var(--paper)}
.header-inner{padding:59.5px 0;text-align:center}
.brand{display:inline-flex;align-items:center;gap:16px;justify-content:center;transition:opacity .2s}
.brand:hover{opacity:.85}
.brand img{width:117px;height:91px;object-fit:contain}
.brand-text{font-family:"Playfair Display",serif;font-size:54px;color:var(--ink);white-space:nowrap}
.brand-text .accent{color:var(--accent)}
.nav-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:42px;font-size:.95rem}
.nav-links a{padding:9px 18px;border-radius:4px;color:var(--ink);transition:background .2s,color .2s}
.nav-links a:hover{color:var(--accent);background:rgba(165,101,95,.08)}
.nav-links a.active{background:var(--accent);color:#fff}
.menu-btn{display:none;position:absolute;right:24px;top:66px;border:0;background:transparent;font-size:1.6rem;padding:6px;cursor:pointer;color:var(--ink);transition:color .2s}
.menu-btn:hover{color:var(--accent)}

/* Hero variants (page top blocks) */
.hero-image{position:relative;min-height:600px;display:grid;align-items:end;overflow:hidden;background:#22201f}
.hero-image .hero-media{position:absolute;inset:0}
.hero-image .hero-media img{width:100%;height:100%;object-fit:cover}
.hero-image .hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,16,14,.72) 0%,rgba(20,16,14,.42) 50%,rgba(20,16,14,.12) 100%)}
.hero-image .hero-inner{position:relative;z-index:2;color:#fff;padding:90px 0 70px;max-width:680px}
.hero-image h1{color:#fff}
.hero-image p{color:rgba(255,255,255,.92);font-size:1.1rem}

.hero-band{padding:88px 0;text-align:center}
.hero-band.accent{background:var(--accent)}
.hero-band.accent h1,.hero-band.accent p{color:#fff}
.hero-band.gray{background:var(--gray)}
.hero-band.plain{background:var(--paper);padding-bottom:56px}
.hero-band .container{max-width:820px}
.hero-band p{font-size:1.1rem;margin-bottom:26px}

/* Sections */
.section{padding:80px 0}
.section-tight{padding:56px 0}
.section-gray{background:var(--gray)}
.section-accent{background:var(--accent);color:#fff;text-align:center;padding:56px 0}
.section-accent h2,.section-accent p{color:#fff}
.cta-narrow{max-width:560px}
.cta-narrow.center{margin-inline:auto}
.btn-white{background:#fff;color:var(--muted);border-color:#fff}
.btn-white:hover{background:var(--gray)}
.section-dark{background:var(--footer-bg);color:var(--footer-text)}
.section-title{max-width:760px;margin:0 0 40px}
.section-title.center{margin-inline:auto;text-align:center}
.section-title p{margin:0}

/* Image grid: 2-4 equal columns, contained within the 1070px inset container, fixed aspect ratio (matches source crops) */
.bleed-grid{display:grid;grid-template-columns:repeat(var(--cols,2),1fr);gap:24px}
.bleed-grid figure{margin:0;overflow:hidden}
.bleed-grid img{width:100%;aspect-ratio:var(--ar,4/3);height:auto;object-fit:cover;transition:transform .5s ease}
.bleed-grid figure:hover img{transform:scale(1.035)}
.bleed-grid .col-copy{padding:26px 2px 0}
.bleed-grid h2,.bleed-grid h3{font-size:1.9rem;margin-bottom:10px}

/* Split: image contained at fixed aspect ratio beside text, both within the 1070px inset container */
.split{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center;padding:64px 0}
.split .split-media{overflow:hidden}
.split .split-media img{width:100%;aspect-ratio:var(--ar,4/3);height:auto;object-fit:cover;transition:transform .6s ease}
.split .split-media:hover img{transform:scale(1.03)}
.split .split-copy{padding:16px}
.split.reverse .split-media{order:2}
.split.reverse .split-copy{order:1}

/* Split-full: one dramatic full-bleed, full-height panel (used once, homepage "Approche pédagogique") */
.split-full{display:grid;grid-template-columns:1fr 1fr;min-height:720px}
.split-full .split-media{position:relative;height:100%;overflow:hidden}
.split-full .split-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.split-full .split-media:hover img{transform:scale(1.03)}
.split-full .split-copy{padding:64px 72px;display:flex;flex-direction:column;justify-content:center}
.split-full.reverse .split-media{order:2}
.split-full.reverse .split-copy{order:1}

/* Pricing cards */
.pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid var(--line);border-left:none}
.price-card{border-left:1px solid var(--line);padding:40px 32px;text-align:center;display:flex;flex-direction:column;transition:box-shadow .25s}
.price-card:hover{box-shadow:0 8px 28px rgba(0,0,0,.06);position:relative;z-index:1}
.price-card.featured{background:var(--gray)}
.price-kicker{color:var(--muted);font-size:.95rem;display:block;margin-bottom:6px}
.price-card h2{font-size:1.7rem;margin-bottom:4px}
.prices{margin:22px 0;display:grid;gap:10px}
.prices strong{font-size:1.15rem;color:var(--ink);display:block;font-weight:700}
.prices span{color:var(--muted);font-size:.92rem}
.price-card .btn{margin:12px auto 0}
.note{text-align:center;max-width:760px;margin:0 auto}
.note .btn{margin-top:18px}

/* Quote */
.quote-block{padding:36px 0}
.quote-block blockquote{font-size:1.05rem;color:var(--muted);margin:0 0 16px;font-style:normal}
.quote-block cite{font-style:normal;color:var(--ink);font-weight:700;display:block;text-align:center}

/* Testimonials carousel: horizontal scroll-snap track of quote cards */
.testi-carousel{position:relative;display:flex;align-items:center;gap:12px}
.testi-track{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:8px 4px 18px;flex:1;-webkit-overflow-scrolling:touch}
.testi-track::-webkit-scrollbar{height:6px}
.testi-track::-webkit-scrollbar-thumb{background:var(--line);border-radius:3px}
.testi-card{flex:0 0 min(460px,84vw);scroll-snap-align:start;background:var(--gray);padding:32px 34px;margin:0;font-style:normal}
.testi-card p{font-size:1.02rem;color:var(--muted);margin:0 0 16px;line-height:1.55}
.testi-card cite{font-style:normal;color:var(--ink);font-weight:700;display:block}
.testi-arrow{flex:0 0 auto;width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:var(--paper);color:var(--accent);font-size:1.4rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:.2s}
.testi-arrow:hover{background:var(--accent);color:#fff;border-color:var(--accent)}
@media (max-width:640px){
  .testi-arrow{display:none}
  .testi-card{padding:24px}
}

/* Contact */
.contact-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:56px}
.contact-form,.testi-form{display:grid;gap:16px}
.field label{display:block;font-weight:700;color:var(--ink);margin-bottom:6px;font-size:.92rem}
.field input,.field textarea{width:100%;border:1px solid var(--line);padding:13px 14px;background:#fff;font:inherit;color:var(--ink);outline:0}
.field textarea{min-height:150px;resize:vertical}
.field input:focus,.field textarea:focus{border-color:var(--accent)}
.form-status{padding:12px 14px;background:#eef6ef;color:#2b5c37;display:none;margin-bottom:16px}
.form-status.error{background:#fbeceb;color:#8a2d22}
.contact-panel{background:var(--gray);padding:32px}
.contact-panel h3{font-size:1.6rem}
.contact-map{width:100%;height:230px;border:0;display:block;margin-bottom:18px;filter:grayscale(.15)}
.contact-list{display:grid;gap:12px;color:var(--muted)}
.contact-list a{color:var(--accent);font-weight:700}
.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:45px;height:45px;border-radius:0;transition:transform .18s,opacity .18s}
.icon-btn:hover{transform:translateY(-2px)}
.icon-btn svg{width:22px;height:22px;fill:#fff}
.icon-btn.whatsapp{background:#25d366}

/* Scroll reveal */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s ease}
.reveal-in{opacity:1;transform:none}

/* Intro overlay */
html.intro-lock,html.intro-lock body{overflow:hidden;height:100%}
.intro-overlay{position:fixed;inset:0;z-index:1000;background:linear-gradient(160deg,#fdfaf8,var(--gray));display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;cursor:pointer;transition:opacity 1.19s ease}
.intro-overlay.intro-out{opacity:0;pointer-events:none}
.intro-logo{width:150px;height:117px;object-fit:contain;opacity:0;transform:scale(.75);animation:introLogoIn 2.1s cubic-bezier(.16,1,.3,1) .21s forwards}
.intro-ring{position:absolute;width:220px;height:220px;border-radius:50%;border:1px solid var(--accent);opacity:0;animation:introRing 3.64s ease-out .21s forwards}
.intro-wrap{position:relative;display:flex;align-items:center;justify-content:center}
.intro-tagline{font-family:"Playfair Display",serif;font-size:1.3rem;color:var(--accent);opacity:0;letter-spacing:.02em;animation:introTextIn 1.54s ease 1.26s forwards}
.intro-skip{position:absolute;bottom:34px;right:34px;background:none;border:1px solid var(--line);color:var(--muted);padding:9px 18px;font-size:.82rem;cursor:pointer;transition:.2s;opacity:0;animation:introTextIn 1.12s ease 1.96s forwards}
.intro-skip:hover{border-color:var(--accent);color:var(--accent)}
@keyframes introLogoIn{0%{opacity:0;transform:scale(.75)}60%{opacity:1;transform:scale(1.04)}100%{opacity:1;transform:scale(1)}}
@keyframes introRing{0%{opacity:0;transform:scale(.6)}35%{opacity:.5}100%{opacity:0;transform:scale(1.35)}}
@keyframes introTextIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (max-width:640px){
  .intro-logo{width:110px;height:86px}
  .intro-ring{width:160px;height:160px}
  .intro-tagline{font-size:1.05rem;padding:0 24px;text-align:center}
  .intro-skip{bottom:20px;right:20px}
}

/* Footer */
.site-footer{background:var(--footer-bg);color:var(--footer-text);padding:36px 0}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;font-size:.9rem}
.footer-links{display:flex;gap:20px;flex-wrap:wrap}
.footer-links a{color:var(--footer-text)}
.footer-links a:hover{color:#fff}

@media (max-width:900px){
  .bleed-grid{grid-template-columns:1fr}
  .split,.split.reverse,.split-full,.split-full.reverse{grid-template-columns:1fr}
  .split-full{min-height:0}
  .split .split-media{order:1 !important;min-height:0}
  .split-full .split-media{order:1 !important;height:300px;min-height:0}
  .split .split-copy,.split-full .split-copy{order:2 !important;padding:28px 4px}
  .pricing-grid{grid-template-columns:1fr;border-left:1px solid var(--line)}
  .price-card{border-left:none;border-top:1px solid var(--line)}
  .price-card:first-child{border-top:none}
  .contact-grid{grid-template-columns:1fr}
  .menu-btn{display:block}
  .nav-links{max-height:0;overflow:hidden;opacity:0;flex-direction:column;align-items:stretch;text-align:center;transition:max-height .3s ease,opacity .25s ease;width:100%;margin-top:0}
  .nav-links.open{max-height:400px;opacity:1;margin-top:18px}
}
@media (max-width:640px){
  .header-inner{padding:28px 0 22px}
  .brand-text{font-size:1.6rem}
  .brand img{width:64px;height:50px}
  .menu-btn{top:32px}
  .section{padding:56px 0}
  .split{padding:40px 0}
  .hero-image{min-height:520px}
  .hero-band{padding:56px 0}
}
