/* Palette or, blanc, vert — design avancé premium */
:root {
  --bg: #FAF9F4;
  --surface: #FFFFFF;
  --surface-soft: #F2F1EC;
  --text: #182B20;
  --muted: #546B56;
  --primary: #2D6A4F;
  --primary-light: #52B788;
  --gold: #C9A84C;
  --gold-dark: #8C6E30;
  --shadow: 0 28px 80px rgba(27,67,50,0.12);
  --radius: 28px;
  --radius-sm: 18px;
  --max-width: 1320px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;font-family:Inter,system-ui,sans-serif;}
body{margin:0;background:var(--bg);color:var(--text);overflow-x:hidden;}
img,video{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
button{font:inherit;}

.container{width:min(100%,var(--max-width));margin:0 auto;padding:0 28px;}

.page-shell{background:linear-gradient(180deg, #FDFBF5 0%, #F9F7EE 100%);}

.topbar{position:sticky;top:0;z-index:50;background:rgba(255,255,255,0.84);backdrop-filter:blur(18px);border-bottom:1px solid rgba(38,55,43,0.08);}
.topbar-inner{display:flex;align-items:center;gap:24px;min-height:88px;}
.brand{display:flex;align-items:center;gap:14px;font-weight:700;min-width:0;}
.brand-mark{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,var(--gold),var(--gold-dark));color:#FFFFFF;font-size:1.2rem;flex:0 0 auto;}
.brand-logo{width:62px;height:62px;object-fit:contain;border-radius:18px;background:#050505;padding:4px;box-shadow:0 14px 32px rgba(24,43,32,0.16);flex:0 0 auto;}
.brand strong{font-size:1.12rem;letter-spacing:.02em;line-height:1.08;}
.brand small{display:block;font-size:.74rem;color:var(--muted);letter-spacing:.1em;text-transform:uppercase;}

.nav-menu{display:flex;align-items:center;gap:24px;margin-left:auto;}
.nav-menu a{color:var(--muted);font-size:.95rem;font-weight:600;position:relative;padding:8px 0;}
.nav-menu a::after{content:'';position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--gold);transition:width .25s ease;}
.nav-menu a:hover::after{width:100%;}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:16px 26px;border-radius:999px;font-weight:700;cursor:pointer;transition:all .25s ease;}
.btn-primary{background:linear-gradient(135deg,var(--primary),var(--primary-light));color:#fff;box-shadow:0 18px 40px rgba(45,106,79,0.28);}
.btn-primary:hover{transform:translateY(-2px);}
.btn-secondary{background:transparent;color:var(--text);border:1px solid rgba(38,55,43,0.16);}
.btn-outline{background:rgba(255,255,255,0.6);color:var(--text);border:1px solid rgba(38,55,43,0.16);}
.btn-sm{padding:12px 20px;font-size:.95rem;}
.btn-block{width:100%;text-align:center;}
.btn-large{padding:18px 34px;font-size:1.05rem;}

.hero-section{padding:120px 0 90px;}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center;}
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.18em;color:var(--gold-dark);}
.eyebrow::before{content:'';width:32px;height:1px;background:var(--gold-dark);}
.hero-copy h1{font-size:clamp(3rem,5vw,4.8rem);line-height:0.95;margin:.8rem 0 1.2rem;}
.hero-copy p{max-width:620px;font-size:1.05rem;line-height:1.9;color:var(--muted);margin-bottom:1.8rem;}
.hero-actions{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:2rem;}
.hero-brand-strip{display:inline-flex;align-items:center;gap:12px;padding:10px 16px 10px 10px;border-radius:999px;background:rgba(255,255,255,0.72);box-shadow:0 14px 40px rgba(27,67,50,0.1);margin-bottom:18px;}
.hero-brand-strip img{width:46px;height:46px;object-fit:contain;border-radius:14px;background:#050505;padding:3px;}
.hero-brand-strip span{font-weight:800;color:var(--text);}
.hero-highlight{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;background:var(--surface);border-radius:24px;padding:24px;box-shadow:var(--shadow);}
.hero-highlight div{display:flex;flex-direction:column;gap:8px;}
.hero-highlight strong{font-size:1.4rem;color:var(--text);}
.hero-highlight span{font-size:.95rem;color:var(--muted);}

.hero-visual{position:relative;}
.hero-card{background:linear-gradient(180deg, #FFFFFF 0%, #F9F7EE 100%);border-radius:32px;padding:32px;box-shadow:var(--shadow);border:1px solid rgba(38,55,43,0.08);}
.hero-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:12px;}
.hero-badge{display:inline-flex;padding:10px 16px;border-radius:999px;background:rgba(201,168,76,0.12);color:var(--gold-dark);font-weight:700;font-size:.85rem;}
.hero-price{font-size:1.3rem;font-weight:700;color:var(--text);}
.hero-card h2{font-size:2rem;line-height:1.1;margin-bottom:14px;}
.hero-card p{color:var(--muted);line-height:1.8;margin-bottom:26px;}
.card-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.card-footer span{color:var(--muted);font-weight:600;}

.section{padding:100px 0;}
.section-alt{background:var(--surface-soft);}
.section-head{display:grid;gap:18px;max-width:700px;margin-bottom:42px;}
.section-head h2{font-size:clamp(2.4rem,4vw,3.4rem);line-height:1.05;}
.section-head p{font-size:1.02rem;color:var(--muted);line-height:1.8;}

.cards-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;}
.course-card{background:var(--surface);border-radius:28px;padding:32px;box-shadow:var(--shadow);border:1px solid rgba(38,55,43,0.08);display:grid;gap:20px;}
.course-card-1{border-top:4px solid var(--primary);}
.course-card-2{border-top:4px solid var(--gold);}
.course-card-3{border-top:4px solid var(--primary-light);}
.course-card-4{border-top:4px solid rgba(201,168,76,0.65);}
.course-image{position:relative;margin:-12px -12px 4px;border-radius:22px;overflow:hidden;aspect-ratio:16/10;background:var(--surface-soft);}
.course-image img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease;}
.course-card:hover .course-image img{transform:scale(1.045);}
.course-image::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg, rgba(24,43,32,0) 45%, rgba(24,43,32,0.38) 100%);pointer-events:none;}
.course-image .card-symbol{position:absolute;left:16px;bottom:16px;z-index:1;margin:0;background:rgba(255,255,255,0.9);box-shadow:0 10px 28px rgba(24,43,32,0.16);backdrop-filter:blur(10px);}
.card-symbol{width:56px;height:56px;border-radius:18px;background:rgba(45,106,79,0.1);display:grid;place-items:center;font-weight:700;font-size:1.05rem;color:var(--primary);}
.course-card h3{font-size:1.55rem;margin:0;}
.course-card p{color:var(--muted);line-height:1.8;}
.course-card ul{list-style:none;padding:0;margin:0;display:grid;gap:10px;}
.course-card li{position:relative;padding-left:24px;color:var(--text);font-weight:500;}
.course-card li::before{content:'•';position:absolute;left:0;top:0;color:var(--gold-dark);font-size:1.2rem;line-height:1;}
.card-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-weight:600;font-size:.95rem;}

.why-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:32px;align-items:start;}
.why-copy h2{font-size:clamp(2.8rem,4vw,3.8rem);line-height:1.05;margin:18px 0 12px;}
.why-copy p{max-width:560px;color:var(--muted);line-height:1.9;}
.why-benefits{display:grid;gap:20px;}
.benefit-card{background:var(--surface);border-radius:24px;padding:28px;box-shadow:var(--shadow);border:1px solid rgba(38,55,43,0.08);}
.benefit-card strong{display:block;font-size:1.05rem;margin-bottom:10px;color:var(--text);}
.benefit-card p{color:var(--muted);line-height:1.8;}

.testimonials-section .section-head{max-width:600px;}
.testimonials-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.testimonial-card{background:linear-gradient(160deg, #FFFFFF 0%, #F9F7EE 100%);border-radius:28px;padding:32px;box-shadow:var(--shadow);border:1px solid rgba(38,55,43,0.08);}
.testimonial-card p{color:var(--muted);line-height:1.9;margin-bottom:24px;}
.testimonial-card span{color:var(--text);font-weight:700;}

.faq-grid{display:grid;gap:18px;max-width:800px;}
details{background:var(--surface);border:1px solid rgba(38,55,43,0.08);border-radius:18px;padding:22px 26px;box-shadow:var(--shadow);}
summary{font-weight:700;cursor:pointer;outline:none;}
details p{margin-top:14px;color:var(--muted);line-height:1.8;}

.cta-section{padding:90px 0;background:linear-gradient(135deg, rgba(201,168,76,0.16), rgba(45,106,79,0.08));}
.cta-grid{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;}
.cta-section h2{font-size:clamp(2.4rem,3.5vw,3.2rem);margin:0;}

.footer-section{padding:60px 0;background:linear-gradient(180deg, #F7F6EE 0%, #F2EFE5 100%);}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:24px;}
.brand-footer{font-size:1.3rem;font-weight:700;margin-bottom:8px;}
.footer-section p{color:var(--muted);line-height:1.9;}
.footer-section a{display:block;color:var(--muted);margin-top:10px;}

.auth-shell{min-height:calc(100vh - 88px);display:grid;place-items:center;padding:56px 0;}
.auth-panel{width:min(100%,520px);background:var(--surface);border-radius:24px;padding:32px;box-shadow:var(--shadow);border:1px solid rgba(38,55,43,0.08);}
.auth-panel h1{margin:0 0 10px;font-size:clamp(2rem,6vw,2.6rem);}
.auth-panel p{color:var(--muted);line-height:1.7;margin:0 0 24px;}
.auth-panel form{display:grid;gap:16px;}
.form-field{display:grid;gap:8px;font-weight:700;color:var(--text);}
.form-field input{width:100%;padding:14px 16px;border-radius:14px;border:1px solid rgba(38,55,43,0.14);background:#fff;color:var(--text);font:inherit;outline:none;}
.form-field input:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(45,106,79,0.1);}
.auth-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px;}
.auth-actions .btn{flex:1 1 180px;}

@media(max-width:1080px){.hero-grid{grid-template-columns:1fr;}.cards-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.why-grid{grid-template-columns:1fr;}.testimonials-grid{grid-template-columns:1fr;}.footer-grid{grid-template-columns:1fr;}}
@media(max-width:720px){.container{padding:0 20px;}.topbar-inner{flex-wrap:wrap;height:auto;padding:14px 0;gap:14px;}.brand{gap:10px;}.brand-logo{width:52px;height:52px;border-radius:16px;}.brand strong{font-size:1rem;}.brand small{font-size:.66rem;letter-spacing:.08em;}.topbar-inner>.btn{margin-left:auto;padding:11px 18px;font-size:.9rem;}.nav-menu{order:3;width:100%;justify-content:center;gap:10px 16px;flex-wrap:wrap;margin-left:0;}.nav-menu a{font-size:.88rem;}.hero-section{padding:72px 0;}.hero-copy h1{font-size:2.45rem;line-height:1.03;}.hero-copy p{font-size:1rem;}.hero-highlight{grid-template-columns:1fr;}.hero-actions{flex-direction:column;align-items:stretch;}.hero-actions .btn{width:100%;}.cards-grid{grid-template-columns:1fr;gap:20px;}.course-card{padding:24px;gap:16px;}.course-image{margin:-8px -8px 2px;border-radius:18px;aspect-ratio:16/11;}.course-card h3{font-size:1.35rem;}.card-meta{align-items:flex-start;flex-direction:column;}.section{padding:72px 0;}.section-head h2{font-size:2.05rem;}.why-copy h2{font-size:2.1rem;}.cta-grid{flex-direction:column;align-items:stretch;}.cta-grid .btn{width:100%;}.auth-shell{padding:36px 0;}.auth-panel{padding:24px;border-radius:20px;}}
@media(max-width:420px){.container{padding:0 16px;}.topbar-inner>.btn{width:100%;margin-left:0;}.brand{width:100%;}.nav-menu{justify-content:flex-start;}.hero-copy h1{font-size:2.08rem;}.hero-brand-strip{width:100%;border-radius:18px;}.btn{padding:14px 20px;}.course-card{padding:20px;border-radius:22px;}.course-image{margin:0;border-radius:16px;}.footer-section{padding:44px 0;}}
