/* Base styles for the static site. Tailwind CDN supplies utility classes. */
:root { --green-primary: #149911; --green-dark: #244f26; --green-medium: #256d1b; --red: #e53935; --container-max-width: 80rem; --container-gutter: clamp(1.125rem, 4vw, 2rem); }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; min-width: 320px; line-height: 1.6; }
*, *::before, *::after { box-sizing: border-box; }
img { display: block; max-width: 100%; }
.container.container { width: min(100% - var(--container-gutter) - var(--container-gutter), var(--container-max-width)); margin-inline: auto; }
.grid-responsive-2 > *, .grid-responsive-3 > *, .grid-responsive-4 > * { min-width: 0; }
.section-spacing { padding-block: 4rem; }
.section-spacing-large { padding-block: 5rem; }
.grid-responsive-2 { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 2rem; }
.grid-responsive-3 { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1.5rem; }
.grid-responsive-4 { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1.5rem; }
.title { color: #1f2937; font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.2; margin: 0 0 1rem; }
.title span { color: var(--green-primary); }
.lead { color: #4b5563; font-size: 1.125rem; max-width: 48rem; margin-inline: auto; }
.body-copy { color: #4b5563; font-size: 1rem; line-height: 1.8; margin-top: 1.5rem; }
.feature-card { padding: 2rem 1.5rem; border: 1px solid #f3f4f6; border-radius: 1.5rem; background: #fff; text-align: center; box-shadow: 0 8px 24px rgb(0 0 0 / .08); transition: transform .25s, box-shadow .25s; }
.feature-card:hover, .program-card:hover { transform: translateY(-.35rem); box-shadow: 0 18px 35px rgb(0 0 0 / .14); }
.feature-card h3, .program-card h3 { font-size: 1.2rem; font-weight: 700; margin: 1rem 0 .75rem; }
.feature-card p, .program-card p { color: #4b5563; }
.icon { width: 4rem; height: 4rem; margin-inline: auto; border-radius: 1rem; display: grid; place-items: center; color: #fff; font-size: 1.8rem; }
.program-card { overflow: hidden; border-radius: 1rem; background: #fff; box-shadow: 0 8px 22px rgb(0 0 0 / .08); transition: transform .25s, box-shadow .25s; }
.program-card > img { width: 100%; height: 12rem; object-fit: cover; }
.program-card > div { padding: 1.5rem; }
.program-card > div > b { display: inline-block; padding: .3rem .7rem; border-radius: 999px; color: #fff; background: var(--green-primary); font-size: .75rem; }
.program-card .badge.red { background: var(--red); }.program-card .badge.medium { background: var(--green-medium); }
.transport-card { padding: 1.5rem; border-radius: 1rem; color: #fff; }.transport-card b { font-size: 1.1rem; display: flex; align-items: center; gap: .5rem; }.transport-card p { color: #e8f5e9; font-size: .9rem; }
/* SVG icon utilities */
.icon-sm { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-md { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon-lg { width: 1.75rem; height: 1.75rem; flex-shrink: 0; }
.icon-xl { width: 2.25rem; height: 2.25rem; flex-shrink: 0; }
.heading-icon { display: flex; align-items: center; gap: .5rem; }
.button-primary, .button-danger, .button-outline { display: inline-block; padding: .8rem 1.5rem; border-radius: .8rem; font-weight: 700; transition: filter .2s, transform .2s; }.button-primary { background: var(--green-primary); color: #fff; }.button-danger { background: var(--red); color: #fff; }.button-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }.button-primary:hover, .button-danger:hover { filter: brightness(.9); transform: translateY(-2px); }.button-outline:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
#contact-form select { display: block; width: 100%; margin-top: .5rem; padding: .75rem 1rem; border: 1px solid #e5e7eb; border-radius: .75rem; font: inherit; background: #fff; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
#contact-form select:focus { outline: 2px solid var(--green-primary); border-color: transparent; }
#contact-form fieldset legend { display: block; margin-bottom: .75rem; }
/* Header nav links */
header nav a { transition: opacity .2s; }
header nav a:hover { opacity: .75; }
header nav a.font-semibold { opacity: 1; }
/* Header: nunca quebrar rótulos nem comprimir a marca */
header nav a, #header-cta { white-space: nowrap; }
header a.shrink-0 { flex-shrink: 0; }
/* Footer nav/address links */
footer nav a, footer address a { color: #d1fae5; transition: color .2s; }
footer nav a:hover, footer address a:hover { color: #fff; }
/* Mobile / tablet menu colapsado */
#mobile-menu { max-height: calc(100vh - 7rem); max-height: calc(100dvh - 7rem); overflow-y: auto; }
#mobile-menu a { display: block; padding: .9rem var(--container-gutter); color: #fff; }
#mobile-menu a:hover { background: rgba(255,255,255,.08); }
#mobile-menu a:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
#mobile-menu a.bg-red-bright { margin: .75rem var(--container-gutter) 1rem; padding: .9rem var(--container-gutter); text-align: center; }
#mobile-menu a.bg-red-bright:hover { background: #c62828; }
header #menu-toggle:focus-visible, header a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.carousel-button { position: absolute; top: 50%; transform: translateY(-50%); width: 2.75rem; height: 2.75rem; border-radius: 999px; background: rgb(255 255 255 / .92); color: #1f2937; font-size: 2rem; line-height: 1; box-shadow: 0 4px 14px rgb(0 0 0 / .2); }
#gallery-thumbnails img { width: 100%; height: 6rem; object-fit: cover; border-radius: .75rem; cursor: pointer; }.gallery-active { outline: 4px solid var(--green-primary); }
.video-card { overflow: hidden; border-radius: 1rem; background: #fff; box-shadow: 0 8px 22px rgb(0 0 0 / .08); cursor: pointer; }.video-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }.video-card .video-copy { padding: 1.5rem; }.video-card h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 .75rem; }.video-card p { color: #4b5563; font-size: .9rem; }
.testimonial-slide { min-width: 100%; padding: 1rem; }.testimonial-card { padding: 2rem; border-radius: 1.5rem; color: #fff; min-height: 18rem; }.testimonial-card img { width: 5rem; height: 5rem; border-radius: 999px; object-fit: cover; border: 4px solid rgb(255 255 255 / .25); }
#contact-form label { display: block; color: #374151; font-weight: 500; }#contact-form input, #contact-form textarea { display: block; width: 100%; margin-top: .5rem; padding: .75rem 1rem; border: 1px solid #e5e7eb; border-radius: .75rem; font: inherit; }#contact-form input:focus, #contact-form textarea:focus { outline: 2px solid var(--green-primary); border-color: transparent; }
.home-hero { padding-block: 9rem 4rem; }
.home-hero .grid-responsive-2 { grid-template-columns: minmax(0, 1fr); }
.home-hero__actions a { width: 100%; max-width: 24rem; margin-inline: auto; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.25rem; max-width: 64rem; margin-inline: auto; }
.price-grid > * { min-width: 0; }
.fee-list { border-top: 1px solid #e5e7eb; }
.fee-list > div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid #e5e7eb; }
.fee-list dd { margin: 0; font-weight: 700; white-space: nowrap; }
/* ── Secção Propinas e Valores 2027 ────────────────────────────────── */
.propinas-table-wrap { width: 100%; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 1rem; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.propinas-table { width: 100%; min-width: 580px; border-collapse: collapse; text-align: left; }
.propinas-table thead th { padding: 1.125rem 1.25rem; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: #151515; background-color: #f9fafb; border-bottom: 2px solid #e5e7eb; white-space: nowrap; }
.propinas-table tbody td { padding: 1rem 1.25rem; font-size: 0.95rem; color: #1f2937; border-bottom: 1px solid #f3f4f6; vertical-align: middle; }
.propinas-table tbody tr:last-child td { border-bottom: none; }
.propinas-table tbody tr:hover td { background-color: rgba(30, 152, 79, 0.03); }
.propinas-table .col-categoria { font-weight: 600; color: #151515; white-space: nowrap; }
.propinas-table .col-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Destaque para a Propina Mensal */
.propinas-table thead th.col-propina { background-color: #eefaf2; color: #151515; border-bottom-color: #1e984f; border-left: 1px solid #d1fae5; border-right: 1px solid #d1fae5; }
.propinas-table tbody td.col-propina { background-color: #f7fdf9; font-weight: 700; font-size: 1.0625rem; color: #1e984f; border-left: 1px solid #d1fae5; border-right: 1px solid #d1fae5; }
.propinas-table tbody tr:hover td.col-propina { background-color: #ecfdf5; }
/* Versão Mobile (< 640px): adaptação da tabela para apresentação confortável em cartões compactos sem provocar overflow horizontal */
@media (max-width: 639px) {
  .propinas-table-wrap { background: transparent; border: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .propinas-table { min-width: 0; }
  .propinas-table, .propinas-table tbody { display: block; width: 100%; }
  .propinas-table thead { display: none; }
  .propinas-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.875rem; padding: 0.875rem 1rem; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 0.875rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); }
  .propinas-table tbody td { padding: 0; border: none; }
  .propinas-table tbody td.col-categoria { grid-column: 1 / -1; font-size: 1rem; font-weight: 700; color: #151515; padding-bottom: 0.5rem; border-bottom: 1px solid #f3f4f6; margin-bottom: 0.25rem; display: flex; justify-content: space-between; align-items: center; white-space: normal; }
  .propinas-table tbody td.col-propina { grid-column: 1 / -1; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 0.5rem; padding: 0.625rem 0.75rem; display: flex; justify-content: space-between; align-items: baseline; text-align: left; margin-bottom: 0.25rem; }
  .propinas-table tbody td.col-propina::before { content: "Propina mensal"; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: #166534; }
  .propinas-table tbody td.col-propina .valor-destaque { font-size: 1.1875rem; font-weight: 800; color: #1e984f; }
  .propinas-table tbody td.col-matricula, .propinas-table tbody td.col-processo { background: #f9fafb; border: 1px solid #f3f4f6; border-radius: 0.5rem; padding: 0.5rem 0.625rem; display: flex; flex-direction: column; text-align: left; }
  .propinas-table tbody td.col-matricula::before { content: "Matrícula"; font-size: 0.7rem; font-weight: 500; color: #6b7280; margin-bottom: 0.15rem; }
  .propinas-table tbody td.col-processo::before { content: "Processo"; font-size: 0.7rem; font-weight: 500; color: #6b7280; margin-bottom: 0.15rem; }
  .propinas-table tbody td.col-matricula .valor-sub, .propinas-table tbody td.col-processo .valor-sub { font-size: 0.925rem; font-weight: 600; color: #1f2937; }
}
.document-checklist { display: grid; gap: 1rem; list-style: none; padding: 0; }
.document-checklist li { display: flex; align-items: flex-start; gap: .75rem; color: #374151; }
.check-icon { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; flex: 0 0 1.5rem; color: #256d1b; }
.check-icon svg { width: 1.25rem; height: 1.25rem; }
.field-error { display: block; color: #b91c1c; font-size: .875rem; font-weight: 500; }
.field-error:empty { display: none; }
#contact-form [aria-invalid="true"] { border-color: #b91c1c; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #1f2937; outline-offset: 3px; }
#contact-form input:focus-visible, #contact-form select:focus-visible { outline: 3px solid #1f2937; outline-offset: 3px; border-color: #1f2937; }
header a:focus-visible, header button:focus-visible, .bg-green-dark a:focus-visible { outline-color: #fff; }
.button-primary, .button-danger, #contact-form button { min-height: 2.75rem; }
.price-subjects { display: grid; gap: .375rem 1rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
@media (min-width: 640px) { .price-subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); }.home-hero__actions a { width: auto; margin-inline: 0; } }
@media (min-width: 768px) { .grid-responsive-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }.grid-responsive-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }.grid-responsive-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }.section-spacing { padding-block: 5rem; }.home-hero { padding-block: 9.5rem 4.5rem; } }
@media (min-width: 1024px) { .grid-responsive-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }.grid-responsive-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }.section-spacing-large { padding-block: 6rem; }.home-hero { padding-block: 10rem 5rem; }.home-hero .grid-responsive-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }.contact-layout { grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 1fr); } }
/* ── Botão Flutuante de WhatsApp ────────────────────────────────── */
.whatsapp-floating { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 45; display: flex; align-items: center; justify-content: center; width: 3.75rem; height: 3.75rem; border-radius: 9999px; background-color: #25D366; color: #ffffff; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45), 0 4px 10px rgba(0, 0, 0, 0.15); transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.2s ease; outline: none; }
.whatsapp-floating:hover { background-color: #20ba5a; transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 28px rgba(37, 211, 102, 0.55), 0 6px 14px rgba(0, 0, 0, 0.2); }
.whatsapp-floating:focus-visible { outline: 3px solid #151515; outline-offset: 3px; }
@media (max-width: 639px) { .whatsapp-floating { bottom: 1.25rem; right: 1.25rem; width: 3.35rem; height: 3.35rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
