/* =========================================================
   CR English Training — stylesheet
   Cores da marca: Azul cobalto #004AAD | Amarelo #FFDE59
   ========================================================= */

:root{
  --blue: #004AAD;
  --blue-dark: #003580;
  --blue-light: #E8F0FE;
  --yellow: #FFDE59;
  --yellow-dark: #F2C300;
  --white: #FFFFFF;
  --ink: #111827;
  --ink-soft: #4B5563;
  --border: #E5E7EB;
  --bg-soft: #F7F9FC;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0,74,173,0.10);
  --shadow-lg: 0 20px 50px rgba(0,74,173,0.16);
  --maxw: 1180px;
  --font: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height:1.6;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ margin:0 0 .5em 0; line-height:1.2; font-weight:700; }
p{ margin:0 0 1em 0; }
.container{ max-width: var(--maxw); margin:0 auto; padding:0 24px; }
section{ padding: 88px 0; }
@media (max-width: 780px){ section{ padding:56px 0; } }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  color: var(--blue); background: var(--blue-light);
  font-weight:600; font-size:13px; letter-spacing:.06em; text-transform:uppercase;
  padding:6px 14px; border-radius:999px; margin-bottom:16px;
}
.section-head{ max-width:680px; margin:0 auto 48px; text-align:center; }
.section-head h2{ font-size: clamp(28px,3.4vw,40px); }
.section-head p{ color: var(--ink-soft); font-size:17px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 28px; border-radius:999px; font-weight:600; font-size:15px;
  border:2px solid transparent; cursor:pointer; transition:.25s ease; white-space:nowrap;
}
.btn-primary{ background:var(--yellow); color:var(--blue-dark); border-color:var(--yellow); }
.btn-primary:hover{ background:var(--yellow-dark); border-color:var(--yellow-dark); transform:translateY(-2px); box-shadow:var(--shadow); }
.btn-outline{ background:transparent; color:var(--white); border-color:rgba(255,255,255,.6); }
.btn-outline:hover{ background:rgba(255,255,255,.15); border-color:var(--white); }
.btn-blue{ background:var(--blue); color:var(--white); border-color:var(--blue); }
.btn-blue:hover{ background:var(--blue-dark); border-color:var(--blue-dark); transform:translateY(-2px); box-shadow:var(--shadow); }
.btn-block{ width:100%; }
.btn-sm{ padding:10px 18px; font-size:14px; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:1000;
  background:rgba(255,255,255,.9); backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--border);
}
.nav-wrap{ display:flex; align-items:center; justify-content:space-between; padding:12px 24px; max-width:var(--maxw); margin:0 auto; gap:20px; }
.brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.brand img{ height:48px; width:auto; }
.brand span{ font-weight:700; color:var(--blue); font-size:15px; line-height:1.1; }

.main-nav{ display:flex; align-items:center; gap:30px; }
.main-nav a{ font-weight:600; font-size:15px; color:var(--ink); position:relative; padding:6px 0; }
.main-nav a::after{
  content:""; position:absolute; left:0; bottom:0; height:2px; width:0%;
  background:var(--yellow-dark); transition:.25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after{ width:100%; }
.main-nav a.active{ color:var(--blue); }

.header-actions{ display:flex; align-items:center; gap:14px; }
.lang-switch{ display:flex; align-items:center; gap:4px; font-size:13px; font-weight:700; color:var(--ink-soft); }
.lang-switch a{ padding:5px 8px; border-radius:6px; }
.lang-switch a.active{ background:var(--blue); color:var(--white); }
.lang-switch a:hover:not(.active){ background:var(--bg-soft); }
.lang-sep{ color:var(--border); }

.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.nav-toggle span{ display:block; width:26px; height:3px; margin:5px 0; background:var(--blue); border-radius:3px; transition:.25s; }

@media (max-width:960px){
  .main-nav{
    position:fixed; inset:70px 0 0 0; background:var(--white); flex-direction:column;
    justify-content:flex-start; padding:36px 24px; gap:22px; transform:translateX(100%);
    transition:.3s ease; overflow-y:auto;
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav a{ font-size:19px; }
  .nav-toggle{ display:block; }
  .header-actions .btn{ display:none; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative; overflow:hidden; color:var(--white);
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-dark) 55%, #001d4a 100%);
  padding: 100px 0 120px;
}
.hero::before, .hero::after{
  content:""; position:absolute; border-radius:50%; filter:blur(2px); opacity:.5;
}
.hero::before{ width:420px; height:420px; background:radial-gradient(circle, rgba(255,222,89,.35), transparent 70%); top:-160px; right:-120px; }
.hero::after{ width:320px; height:320px; background:radial-gradient(circle, rgba(255,255,255,.12), transparent 70%); bottom:-140px; left:-80px; }
.hero-grid{ position:relative; z-index:1; display:grid; grid-template-columns: 1.1fr .9fr; gap:56px; align-items:center; }
@media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; text-align:center; } }
.hero h1{ font-size: clamp(32px,4.6vw,54px); }
.hero h1 em{ font-style:normal; color:var(--yellow); }
.hero p.lead{ font-size:19px; color:rgba(255,255,255,.88); max-width:520px; }
@media (max-width:900px){ .hero p.lead{ margin-inline:auto; } }
.hero-actions{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }
@media (max-width:900px){ .hero-actions{ justify-content:center; } }
.hero-stats{ display:flex; gap:34px; margin-top:44px; flex-wrap:wrap; }
@media (max-width:900px){ .hero-stats{ justify-content:center; } }
.hero-stats div strong{ display:block; font-size:26px; color:var(--yellow); }
.hero-stats div span{ font-size:13px; color:rgba(255,255,255,.75); }

.hero-visual{ position:relative; }
.hero-card{
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.22);
  border-radius:var(--radius); padding:26px; backdrop-filter: blur(6px);
  animation: float 6s ease-in-out infinite;
}
@keyframes float{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-14px);} }
.hero-card .flags{ display:flex; gap:8px; margin-bottom:14px; }
.flag-icon{ border-radius:4px; box-shadow:0 0 0 1px rgba(255,255,255,.35); display:block; }
.hero-card h3{ color:var(--white); font-size:20px; }
.hero-card p{ color:rgba(255,255,255,.8); font-size:14.5px; margin-bottom:16px; }
.hero-card ul li{ display:flex; gap:10px; align-items:flex-start; margin-bottom:10px; font-size:14.5px; color:rgba(255,255,255,.92); }
.hero-card ul li::before{ content:"✓"; color:var(--yellow); font-weight:700; }

.wave{ display:block; margin-top:-2px; }

/* ---------- Logos / trust strip ---------- */
.trust-strip{ padding:34px 0; border-bottom:1px solid var(--border); }
.trust-strip .container{ display:flex; align-items:center; justify-content:center; gap:40px; flex-wrap:wrap; color:var(--ink-soft); font-weight:600; font-size:14px; }
.trust-strip strong{ color:var(--blue); }

/* ---------- Feature cards ---------- */
.grid{ display:grid; gap:28px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:920px){ .grid-3, .grid-4{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:620px){ .grid-3, .grid-4, .grid-2{ grid-template-columns:1fr;} }

.card{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  padding:30px; transition:.25s ease; box-shadow:0 2px 10px rgba(17,24,39,.04);
}
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:transparent; }
.card .icon{
  width:52px; height:52px; border-radius:14px; background:var(--blue-light); color:var(--blue);
  display:flex; align-items:center; justify-content:center; font-size:24px; margin-bottom:16px;
}
.card h3{ font-size:19px; }
.card p{ color:var(--ink-soft); font-size:15px; margin-bottom:0; }

/* ---------- Language course cards ---------- */
.lang-card{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  overflow:hidden; transition:.25s ease; box-shadow:0 2px 10px rgba(17,24,39,.04); display:flex; flex-direction:column;
}
.lang-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.lang-card .lang-top{
  background:linear-gradient(135deg, var(--blue), var(--blue-dark)); color:var(--white);
  padding:26px; display:flex; align-items:center; gap:14px;
}
.lang-card .lang-top .flag{ display:flex; align-items:center; }
.lang-card .lang-top .flag .flag-icon{ box-shadow:0 0 0 1px rgba(255,255,255,.5); width:34px; height:23px; }
.lang-card .lang-top h3{ margin:0; font-size:21px; }
.lang-card .lang-top span{ font-size:13px; color:rgba(255,255,255,.8); }
.lang-card .lang-body{ padding:24px; flex:1; display:flex; flex-direction:column; gap:14px; }
.lang-card .levels{ display:flex; flex-wrap:wrap; gap:6px; }
.lang-card .levels span{ background:var(--bg-soft); border:1px solid var(--border); font-size:12.5px; font-weight:700; color:var(--blue); padding:4px 9px; border-radius:6px; }
.lang-card ul li{ display:flex; gap:8px; font-size:14px; color:var(--ink-soft); }
.lang-card ul li::before{ content:"✓"; color:var(--yellow-dark); font-weight:700; }
.lang-card .price{ margin-top:auto; padding-top:14px; border-top:1px dashed var(--border); }

/* ---------- Steps / method ---------- */
.steps{ counter-reset:step; }
.step{ display:flex; gap:22px; padding:26px 0; border-bottom:1px solid var(--border); }
.step:last-child{ border-bottom:none; }
.step .num{
  counter-increment:step; flex-shrink:0; width:46px; height:46px; border-radius:50%;
  background:var(--yellow); color:var(--blue-dark); font-weight:800; font-size:18px;
  display:flex; align-items:center; justify-content:center;
}
.step h3{ font-size:19px; }
.step p{ color:var(--ink-soft); margin-bottom:0; }

/* ---------- Teacher cards ---------- */
.teachers-stack{ display:flex; flex-direction:column; gap:20px; }
.teacher-card{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  overflow:hidden; text-align:left; box-shadow:0 2px 10px rgba(17,24,39,.04); transition:.25s;
  display:flex; align-items:stretch;
}
.teacher-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.teacher-photo{
  position:relative; width:230px; min-width:230px; height:auto; background:linear-gradient(135deg, var(--blue-light), #fff8e0);
  display:flex; align-items:center; justify-content:center; font-size:64px; color:var(--blue);
  overflow:hidden;
}
.teacher-photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 20%; display:block; }
.teacher-info{ padding:22px; flex:1; display:flex; flex-direction:column; justify-content:center; }
.teacher-info h3{ font-size:19px; margin-bottom:2px; }
.teacher-info .role{ color:var(--yellow-dark); font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.04em; margin-bottom:10px; display:block; }
.teacher-info p{ color:var(--ink-soft); font-size:14.5px; }
.teacher-tags{ display:flex; flex-wrap:wrap; gap:6px; justify-content:flex-start; margin-top:12px; }
.teacher-tags span{ background:var(--bg-soft); border:1px solid var(--border); font-size:12px; font-weight:600; color:var(--blue); padding:3px 9px; border-radius:6px; }
@media (max-width:640px){
  .teacher-card{ flex-direction:column; text-align:center; }
  .teacher-photo{ width:100%; min-width:0; height:240px; }
  .teacher-info{ align-items:center; }
  .teacher-tags{ justify-content:center; }
}
.placeholder-note{ font-size:12px; color:#B45309; background:#FFF7E6; border:1px dashed #F2C300; padding:6px 10px; border-radius:8px; margin-top:12px; }

/* ---------- Testimonials ---------- */
.testi{ background:var(--bg-soft); }
.testi-card{ background:var(--white); border-radius:var(--radius); padding:28px; border:1px solid var(--border); }
.testi-card .stars{ color:var(--yellow-dark); font-size:16px; margin-bottom:10px; }
.testi-card p{ font-style:italic; color:var(--ink); }
.testi-card .who{ display:flex; align-items:center; gap:10px; margin-top:16px; }
.testi-card .avatar{ width:40px; height:40px; border-radius:50%; background:var(--blue-light); color:var(--blue); display:flex; align-items:center; justify-content:center; font-weight:700; }
.testi-card .who strong{ display:block; font-size:14px; }
.testi-card .who span{ font-size:12.5px; color:var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band{
  background: linear-gradient(120deg, var(--blue-dark), var(--blue));
  color:var(--white); text-align:center; border-radius:var(--radius); padding:56px 40px;
  position:relative; overflow:hidden;
}
.cta-band h2{ color:var(--white); }
.cta-band p{ color:rgba(255,255,255,.85); max-width:560px; margin:0 auto 26px; }
.cta-band .actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom:1px solid var(--border); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; padding:20px 0; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; font-weight:700; font-size:16px; color:var(--ink);
}
.faq-q .plus{ color:var(--blue); font-size:20px; transition:.25s; flex-shrink:0; margin-left:14px; }
.faq-item.open .plus{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:.3s ease; color:var(--ink-soft); font-size:15px; }
.faq-a p{ padding-bottom:20px; margin:0; }

/* ---------- Contact page ---------- */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:40px; align-items:start; }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-info-card{ background:var(--blue); color:var(--white); border-radius:var(--radius); padding:34px; }
.contact-info-card h3{ color:var(--white); }
.contact-row{ display:flex; gap:14px; margin-bottom:20px; align-items:flex-start; }
.contact-row .ic{ width:40px; height:40px; border-radius:10px; background:rgba(255,255,255,.15); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-row strong{ display:block; font-size:14px; }
.contact-row span, .contact-row a{ font-size:14px; color:rgba(255,255,255,.85); }
.social-row{ display:flex; gap:10px; margin-top:22px; }
.social-row a{ width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.15); display:flex; align-items:center; justify-content:center; transition:.2s; }
.social-row a:hover{ background:var(--yellow); color:var(--blue-dark); }

.form-card{ background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:34px; box-shadow:0 2px 10px rgba(17,24,39,.04); }
.form-row{ margin-bottom:18px; }
.form-row label{ display:block; font-size:13.5px; font-weight:700; margin-bottom:6px; }
.form-row input, .form-row select, .form-row textarea{
  width:100%; padding:13px 14px; border:1px solid var(--border); border-radius:var(--radius-sm);
  font-family:var(--font); font-size:14.5px; color:var(--ink); background:var(--bg-soft);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{ outline:2px solid var(--blue); background:var(--white); }
.map-embed{ border-radius:var(--radius); overflow:hidden; border:1px solid var(--border); margin-top:24px; }
.map-embed iframe{ width:100%; height:260px; border:0; display:block; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  background:linear-gradient(120deg, var(--blue), var(--blue-dark));
  color:var(--white); padding:70px 0 60px; text-align:center;
}
.page-hero h1{ font-size:clamp(28px,4vw,42px); }
.page-hero p{ color:rgba(255,255,255,.85); max-width:640px; margin:0 auto; }
.breadcrumb{ font-size:13px; color:rgba(255,255,255,.7); margin-bottom:14px; }
.breadcrumb a{ color:var(--yellow); }

/* ---------- Footer ---------- */
.site-footer{ background:#071b3d; color:rgba(255,255,255,.8); padding:64px 0 24px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,.12); }
@media (max-width:820px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid h4{ color:var(--white); font-size:15px; margin-bottom:16px; }
.footer-grid li{ margin-bottom:10px; font-size:14px; }
.footer-grid a:hover{ color:var(--yellow); }
.footer-brand{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.footer-brand img{ height:42px; }
.footer-brand span{ font-weight:700; color:var(--white); font-size:14px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; padding-top:24px; font-size:13px; }
.footer-bottom a{ color:rgba(255,255,255,.6); }
.footer-lang{ display:flex; gap:6px; }
.footer-lang a{ padding:3px 8px; border-radius:6px; border:1px solid rgba(255,255,255,.2); font-size:12px; font-weight:700; }
.footer-lang a.active{ background:var(--yellow); color:var(--blue-dark); border-color:var(--yellow); }

/* ---------- Floating WhatsApp ---------- */
.wa-float{
  position:fixed; right:22px; bottom:22px; z-index:900; width:60px; height:60px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center; box-shadow:0 8px 24px rgba(0,0,0,.25);
  font-size:30px; color:#fff; animation:pulse 2.4s infinite;
}
@keyframes pulse{ 0%{ box-shadow:0 0 0 0 rgba(37,211,102,.5);} 70%{ box-shadow:0 0 0 16px rgba(37,211,102,0);} 100%{ box-shadow:0 0 0 0 rgba(37,211,102,0);} }

/* ---------- Cookie banner ---------- */
.cookie-banner{
  position:fixed; left:0; right:0; bottom:0; z-index:1100; background:#071b3d; color:#fff;
  padding:16px 24px; display:flex; gap:18px; align-items:center; justify-content:center; flex-wrap:wrap;
  transform:translateY(120%); transition:.35s ease; font-size:13.5px;
}
.cookie-banner.show{ transform:translateY(0); }
.cookie-banner a{ color:var(--yellow); text-decoration:underline; }

/* ---------- Reveal animation ---------- */
.reveal{ opacity:1; transform:translateY(18px); transition:transform .6s ease; }
.reveal.in{ transform:translateY(0); }

/* ---------- misc ---------- */
.center{ text-align:center; }
.mt-lg{ margin-top:56px; }
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
@media (max-width:860px){ .two-col{ grid-template-columns:1fr; } }
.badge-list{ display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.badge-list span{ background:var(--blue-light); color:var(--blue); font-weight:700; font-size:13px; padding:6px 12px; border-radius:999px; }
