/* Defensive Driving Pros — site Texas, montado na estrutura do modelo home-cert.
   Paleta do logo: vermelho #e70022 + azul-marinho #052032. Fonte do logo: General Sans.
   O nome da variável --green ficou igual ao modelo, mas agora guarda o vermelho da marca. */

:root {
  --green: #e70022;
  --green-2: #c2001c;
  --green-soft: #fdeef0;
  --ink: #0b1b2a;
  --text: #5b6876;
  --light: #f4f7fa;
  --line: #e2e8ee;
  --white: #fff;
  --font: "General Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.15; }
p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, textarea { font: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg.ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--green); color: var(--white); padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(1170px, 100% - 40px); margin-inline: auto; }

h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; }
.lead { margin-top: 16px; }
.pill { display: inline-block; margin-bottom: 14px; padding: 5px 14px; border-radius: 99px; background: var(--green); color: var(--white); font-size: 12px; font-weight: 600; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border: 0; border-radius: 99px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-2); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--green); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--green); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.stars { display: inline-flex; gap: 2px; color: #f5b301; }
.stars .ico { width: 16px; height: 16px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 30px; min-height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 22px; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.logo .ico { width: 30px; height: 30px; color: var(--green); stroke: var(--green); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav a .ico { width: 14px; height: 14px; }
.nav a:hover, .nav a[aria-current] { color: var(--green); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--ink); color: var(--white); cursor: pointer; }
.nav-toggle .ico { width: 22px; height: 22px; }

/* Hero: foto escura em tela cheia + formulário de inscrição */
.hero { position: relative; overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, .82); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(3, 22, 35, .94) 0%, rgba(3, 22, 35, .8) 50%, rgba(3, 22, 35, .5) 100%); }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 410px; gap: 60px; align-items: center; padding: 90px 0 170px; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 99px; background: rgba(255, 255, 255, .08); color: var(--white); font-size: 15px; }
.hero-pill .ico { color: #f5b301; width: 16px; height: 16px; }
.hero h1 { margin: 26px 0 22px; max-width: 12em; color: var(--white); font-size: clamp(2.6rem, 5.2vw, 4.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.hero-p { max-width: 540px; font-size: 18px; }
.hero-ticks { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 30px 0 38px; color: var(--white); font-weight: 600; }
.hero-ticks li { display: inline-flex; align-items: center; gap: 10px; }
.hero-ticks .ico { width: 18px; height: 18px; color: #ff5a6e; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-btns .btn { padding: 17px 28px; }
.hero-btns .ico { width: 18px; height: 18px; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .55); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }

.enroll { display: grid; gap: 16px; padding: 32px 30px; border-radius: 26px; background: var(--white); color: var(--text); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.en-rating { display: flex; align-items: center; gap: 14px; }
.en-rating small { display: block; font-size: 13px; }
.hp-faces { display: flex; align-items: center; }
.hp-faces img { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--white); object-fit: cover; }
.hp-faces > * + * { margin-left: -12px; }
.enroll h2, .enroll .en-title { margin: 0; color: var(--ink); font-size: 22px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.en-sub { margin-top: -10px; font-size: 14px; }
.enroll label { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }
.enroll input, .enroll select { display: block; width: 100%; height: 50px; margin-top: 6px; padding: 0 16px; border: 1px solid transparent; border-radius: 10px; background: #f2f4f5; color: var(--ink); font-size: 15px; outline: none; }
.enroll input:focus, .enroll select:focus { border-color: var(--green); background: var(--white); }
.req { color: #e0453b; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.enroll .btn { margin-top: 4px; padding: 16px; }

/* Card de diferenciais sobreposto ao hero */
/* metade de cima transparente (sobre o hero), metade de baixo com o cinza da seção de cursos */
.feats-wrap { position: relative; z-index: 3; margin-top: -71px; background: linear-gradient(transparent 71px, var(--light) 71px); }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 34px 10px; border-radius: 26px; background: var(--white); box-shadow: 0 30px 70px -30px rgba(3, 22, 35, .35); }
.feats li { display: flex; align-items: center; gap: 18px; padding: 6px 28px; }
.feats li + li { border-left: 1px solid var(--line); }
.ft-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: #052032; color: #ff5a6e; flex: none; }
.ft-ic .ico { width: 26px; height: 26px; }
.feats h3, .feats .ft-title { margin: 0 0 4px; color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.15; }
.feats p { font-size: 14px; }
#courses { padding-top: 90px; }

/* Seções */
.sec { padding: 100px 0; }
.light { background: var(--light); }
.sec-head { margin-bottom: 50px; }
.sec-head.center { max-width: 560px; margin-inline: auto; text-align: center; }
.sec-head.center h2 + p { margin-top: 12px; }

/* Cabeçalho de 3 colunas: rótulo + título | texto | botão vazado */
.sec-head.split3 { display: grid; grid-template-columns: 1.15fr 1fr auto; gap: 50px; align-items: center; margin-bottom: 56px; }
.split3 h2 { max-width: 12em; font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 600; line-height: 1.2; }
.split3 > p { max-width: 430px; }
.eyebrow { margin-bottom: 14px; color: var(--green); font-size: 15px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.btn-outline { display: inline-flex; align-items: center; gap: 12px; padding: 18px 30px; border: 1px solid var(--green); border-radius: 99px; color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.btn-outline .ico { width: 18px; height: 18px; }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-outline:hover .ico path { stroke: var(--green); }
@media (max-width: 900px) { .sec-head.split3 { grid-template-columns: 1fr; gap: 18px; } .btn-outline { justify-self: start; } }

/* Padrão de cabeçalho de seção: etiqueta vazada com ✦ + título 800 com final verde + texto */
.sh-title { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.sh-title em { font-style: normal; color: var(--green); }
.tag-outline.dark ~ .sh-title em, .tb-head .sh-title em, .pr-band .sh-title em { color: #ff7385; }
.split3 h2.sh-title { max-width: 13em; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.1; }
.split3 > p, .sec-head.center > p:last-child, .lead { font-size: 16px; line-height: 1.6; }
.pr-band .tag-outline { margin-bottom: 18px; }

/* Cursos: 3 cards verticais com categoria sobre a foto, seta redonda e linha de dados */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.course { display: flex; flex-direction: column; padding: 16px 16px 22px; border-radius: 16px; background: var(--white); box-shadow: 0 14px 40px -24px rgba(5, 32, 50, .25); transition: transform .25s, box-shadow .25s; }
.course:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(5, 32, 50, .35); }
.c-img { position: relative; display: block; overflow: hidden; border-radius: 12px; }
.c-img img { width: 100%; aspect-ratio: 330 / 225; object-fit: cover; transition: transform .5s; }
.c-img:hover img { transform: scale(1.05); }
.c-cat { position: absolute; top: 14px; left: 14px; padding: 6px 16px; border-radius: 99px; background: #052032; color: var(--white); font-size: 14px; font-weight: 500; }
.c-body { flex: 1; padding: 24px 4px 22px; }
/* nota do curso: estrelas cinza por baixo e amarelas por cima, cortadas na % da nota */
.c-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 14px; }
.c-stars { position: relative; display: inline-block; line-height: 0; }
.c-stars-base, .c-stars-fill { display: inline-flex; gap: 2px; white-space: nowrap; }
.c-stars-base { color: #dde1e5; }
.c-stars-fill { position: absolute; top: 0; left: 0; overflow: hidden; color: #f5b301; }
.c-stars .ico { width: 16px; height: 16px; }
.c-rating strong { color: var(--ink); font-size: 15px; }
.c-students { display: inline-flex; align-items: center; gap: 6px; padding-left: 10px; border-left: 1px solid var(--line); }
.c-students .ico { width: 15px; height: 15px; color: var(--green); }
.c-body h3 { margin-bottom: 10px; font-size: 22px; font-weight: 600; line-height: 1.3; }
.c-body h3 a { text-decoration: none; }
.c-body h3 a:hover { color: var(--green); }

/* Card de curso: melhorias de conversão (instrutor, prova social, dados do curso, preço com desconto e CTA) */
.course { position: relative; }
.x-deal { position: absolute; right: 14px; bottom: 14px; padding: 6px 12px; border-radius: 99px; background: #f97316; color: #fff; font-size: 13px; font-weight: 700; }
.x-best { position: absolute; top: 14px; right: 14px; padding: 6px 12px; border-radius: 99px; background: #f5b301; color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.x-tutor { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14px; }
.x-tutor img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid var(--green-soft); }
.x-tutor strong { color: var(--ink); }
.course .c-rating { margin: 10px 0 14px; }
.x-rev { color: var(--text); font-size: 13px; text-decoration: underline; text-underline-offset: 2px; }
.x-rev:hover { color: var(--green); }
.x-hot { display: inline-flex; align-items: center; gap: 4px; width: 100%; color: #e8590c; font-size: 13px; font-weight: 600; }
.x-hot .ico { width: 15px; height: 15px; }
.x-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 14px; border-radius: 12px; background: var(--light); color: var(--ink); font-size: 14px; font-weight: 600; }
.x-facts li { display: inline-flex; align-items: center; gap: 6px; }
.x-facts .ico { width: 16px; height: 16px; color: var(--green); }
.course .c-body { padding-bottom: 18px; }
.x-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 14px; }
.x-old { color: #9aa0a6; font-size: 17px; text-decoration: line-through; }
.x-price strong { color: var(--ink); font-size: 30px; font-weight: 800; line-height: 1; }
.x-seats { margin-left: auto; color: #e0453b; font-size: 13px; font-weight: 700; }
.x-cta { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: 99px; background: var(--green); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; transition: background .2s; }
.x-cta:hover { background: var(--green-2); }
.x-cta .ico { width: 18px; height: 18px; }
.x-risk { margin-top: 10px; text-align: center; font-size: 13px; }
.courses { align-items: start; }
.x-feat { outline: 2px solid var(--green); transform: translateY(-10px); }
.x-feat:hover { transform: translateY(-14px); }
.x-popular { position: absolute; top: -14px; left: 50%; z-index: 2; transform: translateX(-50%); padding: 5px 16px; border-radius: 99px; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
@media (max-width: 900px) { .x-feat, .x-feat:hover { transform: none; } }

/* Benefícios: colagem à esquerda (vídeo, avaliação, foto da turma, cursos) e texto à direita */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.bn-collage { display: grid; grid-template-columns: 300fr 50fr 240fr; grid-template-rows: 250px 200px 100px; gap: 20px; }
.bn-video { position: relative; grid-column: 1 / 3; grid-row: 1 / 3; overflow: hidden; border-radius: 14px; }
.bn-video img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: transform .5s; }
.bn-video:hover img { transform: scale(1.04); }
.bn-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(3, 22, 35, .7)); }
.bn-play { position: absolute; top: 80%; left: 50%; z-index: 1; display: grid; place-items: center; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: rgba(231, 0, 34, .78); color: var(--white); box-shadow: 0 0 0 12px rgba(231, 0, 34, .25); backdrop-filter: blur(2px); transition: transform .25s; }
.bn-video:hover .bn-play { transform: scale(1.08); }
.bn-play .ico { width: 30px; height: 30px; margin-left: 4px; }
.bn-cap { position: absolute; left: 18px; bottom: 16px; z-index: 1; color: var(--white); font-weight: 600; }
.bn-rating { grid-column: 3; grid-row: 1; display: grid; text-decoration: none; transition: transform .25s; justify-items: center; align-content: center; gap: 6px; padding: 20px; border-radius: 14px; background: #052032; color: rgba(255, 255, 255, .85); text-align: center; font-size: 14px; box-shadow: 0 20px 40px -20px rgba(3, 22, 35, .5); }
.bn-src { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--white); }
.g-logo { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--white); flex: none; }
.bn-rating:hover { transform: translateY(-4px); }
.bn-rating strong { color: var(--white); font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.bn-rating .stars .ico { width: 22px; height: 22px; }
.bn-faces { display: flex; align-items: center; margin-top: 6px; }
.bn-faces img, .bn-faces span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #052032; object-fit: cover; }
.bn-faces > * + * { margin-left: -8px; }
.bn-faces span { display: grid; place-items: center; width: auto; padding: 0 8px; border-radius: 99px; background: var(--white); color: var(--ink); font-size: 11px; font-weight: 700; }
.bn-group { grid-column: 2 / 4; grid-row: 2 / 4; position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border: 8px solid var(--white); border-radius: 16px; }
.bn-years { grid-column: 1; grid-row: 3; display: grid; place-content: center; text-align: center; border-radius: 14px; background: var(--green); color: var(--white); font-size: 18px; font-weight: 500; line-height: 1.2; }
.bn-years strong { font-size: 40px; font-weight: 800; line-height: 1; }
.tag-outline { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-size: 14px; font-weight: 600; text-transform: uppercase; }
.tag-outline .ico { width: 16px; height: 16px; color: var(--green); }
.bn-copy h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.1; }
.bn-copy h2 em { font-style: normal; color: var(--green); }
.bn-copy .lead + .lead { margin-top: 14px; }
.bn-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: 30px 0 34px; }
.bn-feats li { display: flex; align-items: center; gap: 14px; color: var(--ink); font-weight: 600; line-height: 1.35; }
.bn-ic { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid #f9c9d0; border-radius: 12px; background: var(--green-soft); color: var(--green); flex: none; }
.bn-ic .ico { width: 24px; height: 24px; }
.btn-deep { gap: 12px; padding: 16px 16px 16px 26px; background: #052032; color: var(--white); text-transform: uppercase; letter-spacing: .03em; }
.btn-deep .ico { width: 24px; height: 24px; }
.btn-deep:hover { background: var(--green); }

/* Preços: faixa preta com pontos e cards sobrepostos */
.pricing { padding-bottom: 100px; }
.pr-band { position: relative; padding: 90px 0 200px; background: var(--ink); border-radius: 40px 40px 0 0; }
.pr-band::before { content: ""; position: absolute; inset: 0 0 auto; height: 120px; border-radius: 40px 40px 0 0; background: radial-gradient(circle, rgba(255, 255, 255, .22) 1.5px, transparent 2px) 0 0 / 16px 16px; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.pr-band .sec-head { position: relative; margin-bottom: 0; }
.pr-band h2 { color: var(--white); }
.pr-band p:not(.pill) { color: rgba(255, 255, 255, .7); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: -150px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 20px 40px -26px rgba(5, 32, 50, .3); }
.plan.dark { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, .75); }
.pl-art { position: absolute; top: 24px; right: 24px; width: 54px; height: 54px; fill: none; stroke: var(--green); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .6; }
.pl-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.plan.dark .pl-name { color: var(--white); }
.pl-price { margin: 6px 0 2px; color: var(--ink); font-size: 34px; font-weight: 800; line-height: 1.1; }
.plan.dark .pl-price { color: var(--white); }
.pl-sub { font-size: 13px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan.dark .pl-sub { border-color: rgba(255, 255, 255, .15); }
.pl-list { display: grid; gap: 12px; margin-bottom: 28px; font-size: 14px; }
.pl-list li { display: flex; align-items: center; gap: 10px; }
.pl-list li::before { content: "✓"; color: var(--green); font-weight: 800; }
.plan .btn { margin-top: auto; }

.cmp-title { margin: 70px 0 20px; font-size: 22px; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { padding: 20px 22px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { background: var(--light); color: var(--ink); font-size: 14px; font-weight: 700; }
.cmp tbody th { width: 34%; text-align: left; color: var(--ink); font-weight: 600; }
.cmp tbody th small { display: block; margin-top: 6px; color: var(--text); font-size: 12px; font-weight: 400; }
.cmp td + td, .cmp th + td, .cmp thead th + th { border-left: 1px solid var(--line); }
.cmp .ico { width: 20px; height: 20px; }
.cmp .yes { color: var(--green); }
.cmp .no { color: #c9cdd2; }

/* Depoimentos: faixa de ponta a ponta + card de avaliação e carrossel sobrepostos */
.testi-sec { padding-bottom: 100px; }
.testi-band { position: relative; padding: 80px 0 200px; background: #052032; overflow: hidden; text-align: center; }
.testi-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.tb-head { position: relative; }
.tb-head h2 { color: var(--white); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; }
.tb-head h2 em { font-style: normal; color: #ff7385; }
.tag-outline.dark { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: var(--white); }
.tag-outline.dark .ico { color: #ff7385; }
.fl { position: absolute; z-index: 1; overflow: hidden; border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.fl img { width: 100%; height: 100%; object-fit: cover; }
.f1 { top: 40px; left: 12%; width: 64px; height: 64px; }
.f2 { top: 120px; left: 18%; width: 40px; height: 40px; }
.f3 { top: 46px; right: 12%; width: 64px; height: 64px; }
.f4 { top: 124px; right: 19%; width: 40px; height: 40px; }
/* 3 colunas iguais: o card de avaliação ocupa 1 e o carrossel 2, alinhando com a linha de baixo */
.testi { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -140px; padding: 16px; border-radius: 18px; background: var(--light); box-shadow: 0 30px 60px -30px rgba(3, 22, 35, .35); }
.t-rating { position: relative; min-height: 300px; overflow: hidden; border-radius: 12px; background: #052032; }
.t-rating > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-rating::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 22, 35, .25), rgba(3, 22, 35, .85)); }
.t-rating-in { position: relative; z-index: 1; display: grid; justify-items: center; align-content: space-between; gap: 10px; height: 100%; padding: 30px 18px 26px; text-align: center; }
.t-faces { display: flex; }
.t-faces span { width: 44px; height: 44px; overflow: hidden; border-radius: 50%; border: 2px solid var(--white); }
.t-faces span + span { margin-left: -10px; }
.t-faces img { width: 100%; height: 100%; object-fit: cover; }
.t-rating .stars { margin-top: auto; }
.t-rating h3, .t-rating .t-rating-title { margin: 0; color: var(--white); font-size: 18px; font-weight: 700; line-height: 1.15; }
.t-rating a { color: var(--white); font-size: 14px; text-underline-offset: 3px; }
.t-track { grid-column: 2 / 4; display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - 10px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; }
.t-track::-webkit-scrollbar { display: none; }
.t-card { position: relative; display: grid; justify-items: center; align-content: start; gap: 12px; padding: 30px 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); text-align: center; scroll-snap-align: start; }
.t-card .av { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--white); font-size: 20px; font-weight: 700; }
.t-card .q { position: absolute; top: 22px; right: 22px; width: 34px; height: 34px; color: #e3eaf0; }
.t-card blockquote { margin: 0; color: var(--text); font-size: 15px; line-height: 1.65; }
.t-card figcaption { display: grid; gap: 2px; }
.t-card strong { color: var(--ink); font-size: 16px; }
.t-card small { font-size: 12px; }
.testi-more { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .testi { grid-template-columns: 1fr; } .t-track { grid-column: auto; } .testi-more { grid-template-columns: 1fr; } .t-rating { min-height: 240px; } }
@media (max-width: 600px) { .t-track { grid-auto-columns: 88%; } .fl { display: none; } .testi-band { padding-bottom: 170px; } }

/* Processo em 3 passos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; margin: 0; padding: 0; list-style: none; }
.st-top { display: flex; align-items: center; gap: 22px; padding-bottom: 34px; margin-bottom: 34px; border-bottom: 2px dotted #cfd4d9; }
.st-ic { display: grid; place-items: center; width: 100px; height: 100px; border-radius: 50%; color: var(--white); flex: none; }
.st-ic.green { background: var(--green); box-shadow: 0 0 0 4px #f9c9d0; }
.st-ic.dark { background: var(--ink); box-shadow: 0 0 0 4px #c9ccd0; }
.st-ic .ico { width: 42px; height: 42px; stroke-width: 1.5; }
.st-num { color: transparent; font-size: 76px; font-weight: 600; line-height: 1; letter-spacing: -.02em; -webkit-text-stroke: 1.5px #d6dadf; }
.step h3 { margin-bottom: 12px; font-size: 26px; font-weight: 600; }
.step p { margin-bottom: 30px; font-size: 16px; line-height: 1.65; }
.st-more { display: inline-flex; align-items: center; gap: 12px; padding: 0 2px 8px; border-bottom: 1px solid var(--ink); color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: color .2s, border-color .2s; }
.st-more .ico { width: 18px; height: 18px; }
.st-more:hover { color: var(--green); border-color: var(--green); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 50px; max-width: 520px; margin-inline: auto; } }
@media (max-width: 600px) { .st-ic { width: 80px; height: 80px; } .st-ic .ico { width: 34px; height: 34px; } .st-num { font-size: 60px; } .step h3 { font-size: 22px; } }

/* Por que a Eduqe */
/* .why2 usa o padding padrão de .sec (a seção de preços acima agora tem fundo azul claro) */
.w2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.w2-media { position: relative; }
.w2-photo { width: 58%; aspect-ratio: 330 / 410; height: auto; object-fit: cover; object-position: center top; border-radius: 14px; }
.w2-cards { position: absolute; top: 50%; right: 0; display: grid; gap: 16px; width: 46%; transform: translateY(-50%); }
.w2-card { position: relative; overflow: hidden; padding: 20px 22px 24px; border-radius: 12px; }
.w2-card h3 { margin: 12px 0 8px; font-size: 21px; font-weight: 600; line-height: 1.3; }
.w2-card p { font-size: 15px; line-height: 1.6; }
.w2-card.dark { background: #052032; color: rgba(255, 255, 255, .8); }
.w2-card.dark h3 { color: var(--white); }
.w2-card.light { background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 40px -22px rgba(3, 22, 35, .3); }
.w2-ring { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid currentColor; }
.w2-card.dark .w2-ring { color: var(--white); }
.w2-card.light .w2-ring { color: #052032; }
.w2-ring .ico { width: 22px; height: 22px; }
.w2-thumb { position: absolute; top: -36px; right: -36px; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.w2-title { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.1; }
.w2-title em { font-style: normal; color: var(--green); }
.why2 .lead + .lead { margin-top: 14px; }
.why2 .lead a { color: var(--ink); text-underline-offset: 3px; }
.w2-ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-top: 28px; }
.w2-ticks li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 17px; font-weight: 500; }
.w2-ticks .ico { width: 22px; height: 22px; color: #052032; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 50px; padding: 22px 0; border-radius: 16px; background: var(--light); }
.trust li { display: flex; align-items: center; gap: 14px; padding: 6px 22px; }
.trust li + li { border-left: 1px solid var(--line); }
.tr-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--white); color: #052032; flex: none; box-shadow: 0 4px 12px rgba(3, 22, 35, .06); }
.tr-ic .ico { width: 20px; height: 20px; }
.tr-ic .g-logo { width: 24px; height: 24px; padding: 0; }
.trust small { display: block; color: var(--text); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.trust strong { display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: 16px; font-weight: 700; }
.trust strong .stars .ico { width: 12px; height: 12px; }
.trust div > span { font-size: 13px; }
@media (max-width: 1080px) { .trust { grid-template-columns: 1fr 1fr; row-gap: 14px; } .trust li:nth-child(3) { border-left: 0; } }
@media (max-width: 900px) { .w2 { grid-template-columns: 1fr; } .w2-media { max-width: 600px; } }
@media (max-width: 600px) { .w2-photo { width: 100%; aspect-ratio: 4 / 3; } .w2-cards { position: static; width: 100%; margin-top: 16px; transform: none; } .w2-ticks, .trust { grid-template-columns: 1fr; } .trust li + li { border-left: 0; } }

/* Galeria */
.gallery { padding-top: 0; }
.gl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gl-item { margin: 0; overflow: hidden; border-radius: 14px; }
.gl-item a { position: relative; display: block; }
.gl-item img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform .5s; }
.gl-item a::after { content: ""; position: absolute; inset: 0; background: rgba(3, 22, 35, 0); transition: background .3s; }
.gl-zoom { position: absolute; top: 50%; left: 50%; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: var(--white); color: var(--green); opacity: 0; transform: scale(.7); transition: opacity .3s, transform .3s; }
.gl-zoom .ico { width: 22px; height: 22px; }
.gl-item a:hover img { transform: scale(1.06); }
.gl-item a:hover::after { background: rgba(3, 22, 35, .35); }
.gl-item a:hover .gl-zoom, .gl-item a:focus-visible .gl-zoom { opacity: 1; transform: scale(1); }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 30px; background: rgba(3, 14, 22, .9); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 86vh; border-radius: 12px; }
.lb-close { position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
@media (max-width: 900px) { .gl-grid { grid-template-columns: repeat(2, 1fr); } }

/* Grupos de estudo: busca de cidade, mapa e lista */
.city-check { display: grid; grid-template-columns: 1fr minmax(0, 360px); gap: 10px 30px; align-items: center; margin-bottom: 20px; padding: 26px 22px 26px 30px; border-radius: 16px; background: #052032; color: rgba(255, 255, 255, .78); box-shadow: 0 20px 40px -24px rgba(3, 22, 35, .5); }
.cc-title { color: var(--white); font-size: 22px; font-weight: 800; }
.cc-sub { font-size: 14px; }
.cc-field { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 99px; background: var(--white); }
.cc-field .ico { width: 18px; height: 18px; color: var(--green); }
.cc-field input { flex: 1; min-width: 0; height: 44px; border: 0; color: var(--ink); font-size: 15px; outline: none; }
.cc-btn { height: 46px; padding: 0 22px; border: 0; border-radius: 99px; background: var(--green); color: var(--white); font-weight: 700; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.cc-btn:hover { background: var(--green-2); }
.cc-result { grid-column: 1 / -1; margin: 4px 0 0; color: #ff7385; font-weight: 600; }
.cc-result.no { color: #fecaca; }
.areas-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: stretch; }
.area-map { min-height: 440px; border-radius: 16px; overflow: hidden; background: #e3eaf0; z-index: 0; }
.area-card { padding: 26px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.ac-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.ac-head h3 { font-size: 20px; }
.ac-count { padding: 4px 12px; border-radius: 99px; background: var(--green-soft); color: var(--green-2); font-size: 13px; font-weight: 700; white-space: nowrap; }
.area-card > p { font-size: 15px; }
.ac-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 10px; margin: 20px 0; padding-top: 20px; border-top: 1px solid var(--line); }
.ac-list li { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 600; }
.ac-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; }
.ac-note { font-size: 14px; }
.ac-note a { color: var(--green-2); font-weight: 600; }
.map-pin { display: grid; place-items: center; width: 30px; height: 30px; border: 3px solid var(--white); border-radius: 50% 50% 50% 0; background: #052032; transform: rotate(-45deg); box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }
.map-pin::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff7385; }
.map-pin.hit { background: var(--green); }
@media (max-width: 900px) { .city-check, .areas-wrap { grid-template-columns: minmax(0, 1fr); } .area-map { min-height: 340px; } }
@media (max-width: 600px) { .ac-list { grid-template-columns: 1fr 1fr; } .city-check { padding: 22px 16px; } .cc-field { padding-left: 12px; } .cc-btn { padding: 0 14px; font-size: 13px; } .cc-title { font-size: 19px; } }

/* Tutores: fundo branco, foto grande no topo do card */
.tu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tutor { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); transition: transform .25s, box-shadow .25s; }
.tutor:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -26px rgba(3, 22, 35, .35); }
.tu-photo { position: relative; overflow: hidden; background: var(--green-soft); }
.tu-photo img { width: 100%; height: auto; aspect-ratio: 600 / 520; object-fit: cover; object-position: center 25%; transition: transform .5s; }
.tutor:hover .tu-photo img { transform: scale(1.04); }
.tu-role { position: absolute; left: 16px; bottom: 16px; padding: 6px 14px; border-radius: 99px; background: #052032; color: var(--white); font-size: 13px; font-weight: 600; }
.tu-body { padding: 22px 24px 24px; }
.tu-body h3 { font-size: 21px; margin-bottom: 8px; }
.tu-body > p { font-size: 15px; line-height: 1.6; }
.tu-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 600; }
.tu-meta span { display: inline-flex; align-items: center; gap: 6px; }
.tu-meta .ico { width: 16px; height: 16px; color: var(--green); }
.tu-meta span:last-child .ico { color: #f5b301; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--green); border-color: var(--green); color: var(--white); }
.socials .ico { width: 14px; height: 14px; }

/* FAQ: fundo cinza-claro, cards brancos */
.faq-sec { background: var(--light); }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.faq-l h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.1; }
.faq-l h2 em { font-style: normal; color: var(--green); }
.faq-l .lead a { color: var(--ink); text-underline-offset: 3px; }
.faq-l .lead a:hover { color: var(--green); }
.faq-img { width: 100%; aspect-ratio: 470 / 305; height: auto; margin-top: 34px; object-fit: cover; border-radius: 14px; }
.acc { display: grid; gap: 14px; }
.acc details { border: 1px solid var(--line); border-radius: 14px; background: var(--white); transition: border-color .2s; }
.acc details:hover { border-color: #f4b6bf; }
.acc summary { display: flex; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.35; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:focus:not(:focus-visible) { outline: none; }
.q-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--light); color: #052032; font-size: 14px; font-weight: 700; flex: none; transition: background .2s, color .2s; }
.q-text { flex: 1; }
.pm { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--light); color: #052032; flex: none; transition: background .2s, color .2s; }
.pm::before, .pm::after { content: ""; position: absolute; width: 12px; height: 2px; border-radius: 2px; background: currentColor; }
.pm::after { transform: rotate(90deg); transition: transform .25s; }
.acc details[open] { border-color: #052032; }
.acc details[open] .q-num, .acc details[open] .pm { background: #052032; color: var(--white); }
.acc details[open] .pm::after { transform: rotate(0); }
.acc details p { padding: 0 24px 22px 76px; font-size: 15px; line-height: 1.65; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .acc summary { gap: 12px; padding: 16px; } .q-num { width: 34px; height: 34px; } .acc details p { padding: 0 18px 20px; } }

/* Blog: carrossel com setas, 3 cards e o 4º aparecendo na borda */
.blog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; }
.bl-title { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.1; }
.bl-title em { font-style: normal; color: var(--green); }
.blog-head .lead { margin-top: 12px; }
.blog-ctrl { display: flex; align-items: center; gap: 12px; }
.arr { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.arr .ico { width: 20px; height: 20px; }
.arr[data-blog-prev] .ico { transform: rotate(180deg); }
.arr:hover:not(:disabled) { background: #052032; border-color: #052032; color: var(--white); }
.arr:disabled { opacity: .4; cursor: default; }
.blog-ctrl .btn { margin-left: 8px; }
.blog { display: flex; gap: 20px; margin: 0; padding: 0 0 6px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.blog::-webkit-scrollbar { display: none; }
.post { flex: 0 0 calc((100% - 40px) / 3.2); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--white); scroll-snap-align: start; }
.bl-img { position: relative; display: block; overflow: hidden; }
.bl-img img { width: 100%; height: auto; aspect-ratio: 700 / 438; object-fit: cover; transition: transform .5s; }
.bl-img:hover img { transform: scale(1.05); }
.date { position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: 99px; background: var(--white); color: var(--ink); font-size: 13px; font-weight: 600; }
.post-body { display: flex; flex: 1; flex-direction: column; padding: 22px 22px 26px; }
.post h3 { margin-bottom: 10px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.post h3 a { text-decoration: none; }
.post h3 a:hover { color: var(--green); }
.post-body > p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 20px; font-size: 15px; }
.post .more { margin-top: auto; color: #052032; font-size: 16px; }
@media (max-width: 900px) { .blog-head { flex-direction: column; align-items: flex-start; } .post { flex-basis: calc((100% - 20px) / 2.15); } }
@media (max-width: 600px) { .post { flex-basis: 86%; } .blog-ctrl { flex-wrap: wrap; } }

/* Rodapé verde-escuro com card de CTA sobreposto ao topo */
.footer { margin-top: 110px; padding-bottom: 30px; background: #052032; color: rgba(255, 255, 255, .75); }
.ft-cta { position: relative; top: -90px; display: grid; grid-template-columns: 1fr 46%; min-height: 330px; margin-bottom: -40px; overflow: hidden; border-radius: 20px; background: linear-gradient(120deg, #e70022, #a3001a); }
.ft-mark { position: absolute; left: -30px; bottom: -60px; width: 260px; height: 260px; color: rgba(255, 255, 255, .07); fill: currentColor; stroke: none; pointer-events: none; }
.ft-cta-copy { position: relative; z-index: 1; align-self: center; padding: 46px 30px 46px 50px; }
.ft-tag { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 99px; background: rgba(255, 255, 255, .18); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ft-cta h2 { color: var(--white); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.08; margin-bottom: 14px; }
.ft-cta h2 em { font-style: normal; color: #ffd0d6; }
.ft-cta-copy > p:not(.ft-tag) { max-width: 440px; margin-bottom: 26px; color: rgba(255, 255, 255, .9); }
.btn-light { gap: 12px; padding: 14px 14px 14px 24px; background: var(--white); color: #052032; text-transform: uppercase; }
.btn-light .ico { width: 24px; height: 24px; }
.btn-light:hover { background: #052032; color: var(--white); }
.ft-cta-media { clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.ft-cta-media img { width: 100%; height: 100%; object-fit: cover; }
.ft-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; padding-bottom: 46px; }
.footer .logo { color: var(--white); }
.footer .logo .ico { color: #ff5a6e; }
.ft-brand p { margin: 18px 0 22px; max-width: 280px; font-size: 15px; }
.footer .socials a { width: 38px; height: 38px; border: 0; background: rgba(255, 255, 255, .1); color: var(--white); }
.footer .socials a:hover { background: var(--green); }
.footer h3 { display: inline-block; margin-bottom: 20px; padding-bottom: 8px; border-bottom: 2px solid var(--green); color: var(--white); font-size: 18px; }
.footer ul { display: grid; gap: 12px; font-size: 15px; }
.footer ul a { text-decoration: none; }
.footer ul a:hover { color: #ff7385; }
.ft-contact li { display: flex; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); line-height: 1.5; }
.ft-contact .ico { width: 16px; height: 16px; margin-top: 3px; color: #ff5a6e; flex: none; }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.ft-bottom nav { display: flex; gap: 22px; }
.ft-bottom a { text-decoration: none; }
.ft-bottom a:hover { color: #ff7385; }
@media (max-width: 900px) { .ft-cta { grid-template-columns: 1fr; } .ft-cta-media { display: none; } .ft-grid { grid-template-columns: 1fr 1fr; } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .ft-cta-copy { padding: 34px 24px; } .ft-grid { grid-template-columns: 1fr; } }

/* Responsivo */
@media (max-width: 1080px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 20px 20px; margin: 0; background: var(--white); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: grid; place-items: center; }
  .header-in { position: relative; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero-in, .benefits { grid-template-columns: 1fr; }
  .bn-collage { width: 100%; max-width: 600px; }
  .enroll { max-width: 520px; }
  .courses { grid-template-columns: 1fr 1fr; }
  .course:last-child { grid-column: 1 / -1; max-width: calc(50% - 15px); justify-self: center; }
  .plans { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .tu-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .sec { padding: 70px 0; }
  .header-cta .btn-green { display: none; }
  .row2 { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; padding: 14px 0; }
  .feats li { padding: 16px 22px; }
  .feats li + li { border-left: 0; border-top: 1px solid var(--line); }
  .enroll { padding: 26px 20px; }
  .tu-grid, .bn-feats { grid-template-columns: 1fr; }
  .bn-collage { grid-template-rows: 180px 150px 90px; gap: 12px; }
  .bn-rating { padding: 12px; font-size: 12px; }
  .bn-rating strong { font-size: 36px; }
  .bn-rating .stars .ico { width: 14px; height: 14px; }
  .bn-faces { display: none; }
  .bn-years { font-size: 14px; }
  .bn-years strong { font-size: 30px; }
  .courses { grid-template-columns: 1fr; }
  .course:last-child { max-width: none; }
    .pr-band { border-radius: 26px 26px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---- Ajustes da marca Defensive Driving Pros ---- */
.logo img { width: 170px; height: auto; }
.footer .logo img { width: 200px; }
/* Título do hero no mesmo estilo dos títulos de seção (sem itálico, sem caixa alta); tamanho do modelo mantido */
.hero h1 { font-style: normal; text-transform: none; letter-spacing: -.02em; max-width: 13em; }
.hero h1 em { font-style: inherit; color: #ff5a6e; }
.enroll select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1b2a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.en-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: -4px; font-size: 13px; }
.en-note .ico { width: 14px; height: 14px; color: var(--green); }
.x-brand { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green-soft); }
.x-brand img { width: 22px; height: auto; border: 0; border-radius: 0; }
.x-save { margin-left: auto; color: #e0453b; font-size: 13px; font-weight: 700; }
.c-for { margin-bottom: 4px; font-size: 15px; }
.pl-price small { font-size: 15px; font-weight: 600; color: var(--text); text-decoration: line-through; margin-left: 6px; }
.plan.dark .pl-price small { color: rgba(255, 255, 255, .55); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.crumbs a { color: var(--white); text-decoration: none; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.hero-price { display: flex; align-items: baseline; gap: 12px; margin: -8px 0 30px; color: var(--white); }
.hero-price strong { font-size: 40px; font-weight: 800; line-height: 1; }
.hero-price s { color: rgba(255, 255, 255, .6); font-size: 18px; }
.hero-price span { padding: 4px 10px; border-radius: 99px; background: var(--green); font-size: 13px; font-weight: 700; }
.elig-list { display: grid; gap: 14px; margin-top: 26px; }
.elig-list li { display: flex; gap: 12px; color: var(--ink); font-weight: 500; }
.elig-list .ico { width: 22px; height: 22px; margin-top: 1px; }
.elig-list .yes { color: #138a4b; }
.elig-list .no { color: var(--green); }
.box2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.box2 > div { padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.box2 h3 { font-size: 21px; }
@media (max-width: 900px) { .box2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .logo img { width: 140px; } .hero h1 { font-size: 2.3rem; } }
.crumbs ~ h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }

/* Why Choose Us: foto e cards na mesma linha do grid, assim a altura da seção acompanha o mais alto e os cards nunca vazam */
.w2-media { display: grid; grid-template-columns: 58% 1fr; align-items: center; }
.w2-photo { grid-column: 1; grid-row: 1; align-self: stretch; width: 100%; height: 100%; min-height: 420px; aspect-ratio: auto; object-position: center; }
.w2-cards { position: relative; grid-column: 1 / 3; grid-row: 1; justify-self: end; width: 48%; margin: 48px 0; top: auto; right: auto; transform: none; }
.w2-card h3 { font-size: 19px; }
@media (max-width: 600px) {
  .w2-media { grid-template-columns: 1fr; }
  .w2-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .w2-cards { grid-column: 1; grid-row: 2; width: 100%; justify-self: stretch; margin: 16px 0 0; }
}

/* Equipe: avatar sem rosto (placeholder) e sem redes sociais */
.tu-photo img[src$=".svg"] { object-position: center; }
.tu-meta:last-child { margin-bottom: 0; }
/* Equipe: cards da mesma altura, linha de credenciais sempre alinhada embaixo */
.tutor { display: flex; flex-direction: column; }
.tu-body { display: flex; flex: 1; flex-direction: column; }
.tu-body .tu-meta { margin-top: auto; }
.tu-body > p { margin-bottom: 16px; }

/* Bandeira do Texas: misturada à foto do hero e no lugar da foto da colagem */
/* Hero da home: só a bandeira do Texas tremulando; o véu escuro fica mais leve para as cores aparecerem */
.hero-tx { background: #002868; }
.hero-tx .hero-bg { object-position: left center; }
.hero-tx::before { background: linear-gradient(90deg, rgba(0, 20, 52, .72) 0%, rgba(0, 20, 52, .45) 45%, rgba(0, 20, 52, .12) 75%, rgba(0, 20, 52, .05) 100%); }
.bn-flag { object-position: left center; background: #002868; }

/* Card "Most Popular": sem a borda vermelha (mantém o selo e a elevação) */
.x-feat { outline: 0; }

/* Faixa de preços: sem o padrão de pontinhos */
.pr-band::before { display: none; }

/* ---------- Home: quem pode e quanto custa, cidades, espanhol ---------- */
.elig .box2 > div { background: var(--light); border-color: transparent; }
.cost-row { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 14px; margin: 24px 0 0; }
.cost-row > div { display: flex; flex-direction: column; gap: 2px; padding: 18px 24px; border: 1px solid var(--line); border-radius: 14px; }
.cost-row dt { font-size: 14px; font-weight: 600; }
.cost-row dd { margin: 0; color: var(--ink); font-size: 28px; font-weight: 700; line-height: 1.1; }
.cost-row .cost-note dd { font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--text); }
.elig-foot { margin-top: 20px; font-size: 15px; }
.elig-foot a, .es-note a { color: var(--green-2); font-weight: 600; }
.ac-cities { margin: 0 0 16px; font-size: 14px; }
.es-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; margin: 40px auto 0; padding: 14px 22px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); width: fit-content; max-width: 100%; text-align: center; font-size: 15px; }
.es-note strong { color: var(--ink); }
.es-tag { padding: 3px 10px; border-radius: 99px; background: var(--green-soft); color: var(--green-2); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 900px) { .cost-row { grid-template-columns: 1fr 1fr; } .cost-row .cost-note { grid-column: 1 / -1; } }
@media (max-width: 600px) { .es-note { border-radius: 16px; } .cost-row > div { padding: 14px 16px; } .cost-row dd { font-size: 24px; } }

/* Preços com o mesmo fundo azul claro das seções .light (home). Os 40px do topo ficam brancos para os cantos arredondados da faixa escura. */
.pricing.tinted { background: linear-gradient(var(--white) 40px, var(--light) 40px); }
.pricing.tinted .cmp-wrap { background: var(--white); }

/* Home: "How It Works" (fundo branco) começa sem padding superior */
.process:not(.light) { padding-top: 0; }

/* Home: equipe vem logo depois da elegibilidade (mesmo fundo branco), sem padding superior */
#instructors { padding-top: 0; }

/* "Texans enrolled this week" sozinho dentro da caixa cinza dos cards de curso */
.x-facts .x-hot { width: 100%; color: #e8590c; font-size: 13px; }
.x-facts .x-hot .ico { color: inherit; }

/* Card vermelho da colagem com texto ("Industry Leader") no lugar do número */
.bn-years-text strong { font-size: 28px; letter-spacing: -.01em; }
@media (max-width: 600px) { .bn-years-text strong { font-size: 20px; } }

/* Processo com 4 passos (home) */
.steps.four { grid-template-columns: repeat(4, 1fr); gap: 40px; }
.steps.four .step { display: flex; flex-direction: column; }
.steps.four .step h3 { font-size: 22px; }
.steps.four .st-more { margin-top: auto; align-self: flex-start; }
@media (max-width: 1200px) { .steps.four { grid-template-columns: repeat(2, 1fr); gap: 50px 40px; } }
@media (max-width: 900px) { .steps.four { grid-template-columns: 1fr; } }

/* Faixa de aviso no topo de todas as páginas ("Opening soon") */
.topbar { background: var(--green); color: var(--white); font-size: 14px; line-height: 1.45; text-align: center; }
.topbar .wrap { padding-block: 10px; }
.topbar strong { font-weight: 700; }
@media (max-width: 600px) { .topbar { font-size: 13px; } .topbar .wrap { padding-block: 8px; } }

/* Selo TrustedSite no rodapé */
.ft-seal { display: inline-block; margin-top: 20px; }
.ft-seal img { display: block; width: 90px; height: 37px; }
