/* ==========================================
   BASE CSS - Tokens, reset e estilos globais
   Cores da marca tiradas da fachada:
   azul royal do letreiro + laranja das letras/faixas
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Marca */
    --blue: #262279;          /* azul do letreiro */
    --blue-700: #1d1a62;
    --blue-900: #14113f;
    --blue-50: #f0f0f9;
    --orange: #ee6a2c;        /* laranja da marca (decorativo) */
    --orange-300: #f7a26f;    /* laranja para texto sobre azul */
    --orange-700: #b9470f;    /* laranja para texto sobre branco */
    --orange-50: #fff4ec;     /* tom da parede, bem claro */

    /* Neutros */
    --ink: #1a1830;
    --muted: #5c5a70;
    --line: #e8e6ef;
    --bg: #ffffff;
    --bg-soft: #f8f7fb;
    --white: #ffffff;
    --whatsapp: #1fae55;

    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --ease: 0.2s ease;
    --header-h: 76px;

    /* Compat com nomes antigos */
    --color-primary: var(--orange);
    --color-secondary: var(--blue);
    --color-text-dark: var(--ink);
    --color-text-muted: var(--muted);
    --color-border: var(--line);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: var(--blue-900);
}

h1 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); }
h3 { font-size: 1.125rem; letter-spacing: -0.01em; font-weight: 700; }

p { color: var(--muted); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
    border-radius: 6px;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 112px 0; }

.section-head {
    max-width: 640px;
    margin-bottom: 56px;
}

.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.0625rem; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange-700);
}

.eyebrow::before {
    content: "";
    width: 20px;
    height: 3px;
    border-radius: 2px;
    background: var(--orange);
}

.eyebrow-light { color: var(--orange-300); }

/* Ícones (sprite SVG inline) */
.icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-fill { fill: currentColor; stroke: none; }

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
    white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-700); }

.btn-ghost { background: transparent; color: var(--blue); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); }

.btn-light { background: var(--white); color: var(--blue); }
.btn-light:hover { background: var(--orange-50); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--blue);
    border-bottom: 1.5px solid var(--orange);
    padding-bottom: 2px;
    transition: gap var(--ease);
}

.link-arrow:hover { gap: 12px; }

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--blue);
    color: var(--white);
    font-weight: 700;
}

.skip-link:focus { top: 12px; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Animação sutil ao entrar na tela (usada pelo main.js) */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

.animated { animation-duration: 0.6s; animation-fill-mode: both; }
.fadeIn { animation-name: fadeIn; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .animated { animation: none; }
    .btn:hover { transform: none; }
}

@media (max-width: 767px) {
    .container { padding: 0 16px; }
    .section { padding: 72px 0; }
    .section-head { margin-bottom: 36px; }
    .btn { width: 100%; }
}
