/* ==========================================================================
   F7 Representações — Estilos globais
   Paleta em variáveis CSS para facilitar troca futura da identidade visual.
   ========================================================================== */

:root {
    /* Cores */
    --primary: #030610;
    --glow: radial-gradient(1100px circle at 88% 6%, rgba(34, 72, 128, 0.5), transparent 55%),
        radial-gradient(700px circle at 88% 6%, rgba(201, 162, 39, 0.08), transparent 60%);
    --secondary: #c9a227;
    --secondary-light: #e0be55;
    --background: #ffffff;
    --surface: #f5f5f5;
    --text: #181818;
    --text-light: #666666;
    --white: #ffffff;
    --border: #e5e5e5;

    /* Tipografia */
    --font-heading: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Espaçamento */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    /* Layout */
    --container-width: 1200px;
    --radius: 4px;
    --shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
    --transition: 0.3s ease;
    --header-height: 76px;
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

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

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

section {
    padding: var(--space-xl) 0;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: var(--space-sm);
}

.section-header {
    max-width: 640px;
    margin: 0 auto var(--space-lg);
    text-align: center;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* Botões */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
    min-height: 48px;
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--primary);
    color: var(--white);
}

.btn-dark:hover {
    background: #0d1a30;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1ebd5a;
    transform: translateY(-2px);
}

/* ==========================================================================
   Header / Navegação
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}

.header.is-scrolled {
    background: rgba(3, 6, 16, 0.96);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    height: 68px;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 56px;
    width: auto;
    transition: height var(--transition);
}

.header.is-scrolled .logo img {
    height: 46px;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-list {
    display: flex;
    gap: var(--space-md);
}

.nav-list a {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.4rem 0;
    transition: color var(--transition);
}

.nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width var(--transition);
}

.nav-list a:hover {
    color: var(--secondary-light);
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--secondary);
    color: var(--primary);
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--white);
    transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--glow), var(--primary);
    color: var(--white);
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-graphic {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

.hero-graphic svg {
    width: 100%;
    height: 100%;
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-tag {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--secondary-light);
    margin-bottom: var(--space-md);
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    color: var(--white);
    max-width: 900px;
    margin-bottom: var(--space-md);
}

.hero p.hero-subtext {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 620px;
    margin-bottom: var(--space-lg);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.hero-footline {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.scroll-cue {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.scroll-cue::after {
    content: '';
    position: absolute;
    top: 0;
    left: -2px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--secondary);
    animation: scrollcue 2s infinite;
}

@keyframes scrollcue {
    0% { top: 0; opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ==========================================================================
   Sobre / Pilares
   ========================================================================== */

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.sobre-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.sobre-text p {
    color: var(--text-light);
    margin-bottom: var(--space-sm);
    max-width: 560px;
}

.pilares {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.pilar {
    background: var(--surface);
    padding: var(--space-md);
    border-radius: var(--radius);
    border-left: 3px solid var(--secondary);
    transition: transform var(--transition), box-shadow var(--transition);
}

.pilar:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.pilar-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-sm);
    color: var(--secondary);
}

.pilar h3 {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-weight: 700;
}

.pilar p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================================================
   Atuação
   ========================================================================== */

.atuacao-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.atuacao-card {
    padding: var(--space-md);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform var(--transition), box-shadow var(--transition);
}

.atuacao-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.atuacao-icon {
    width: 36px;
    height: 36px;
    color: var(--secondary);
    margin-bottom: var(--space-sm);
}

.atuacao-card h3 {
    font-size: 1.05rem;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.atuacao-card p {
    color: var(--text-light);
    font-size: 0.92rem;
}

/* ==========================================================================
   Diferencial
   ========================================================================== */

.diferencial {
    background: var(--glow), var(--primary);
    color: var(--white);
    text-align: center;
}

.diferencial h2 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: var(--white);
    margin-bottom: var(--space-md);
}

.diferencial p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin: 0 auto var(--space-lg);
    font-size: 1.05rem;
}

/* ==========================================================================
   Região
   ========================================================================== */

.regiao {
    background: var(--surface);
}

.regiao-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.regiao-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.regiao-text p {
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.regiao-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.regiao-tags span {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
}

.regiao-map-placeholder {
    background: var(--white);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
    padding: var(--space-md);
}

/* ==========================================================================
   Contato
   ========================================================================== */

.contato-info {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.contato-info h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.contato-info > p {
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.contato-lista {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text);
    font-size: 0.95rem;
}

.contato-item svg {
    width: 20px;
    height: 20px;
    color: var(--secondary);
    flex-shrink: 0;
}

/* ==========================================================================
   Rodapé
   ========================================================================== */

.footer {
    background: var(--glow), var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-lg) 0 var(--space-md);
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-md);
}

.footer-logo {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 1.3rem;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-links a {
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-light);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Animações
   ========================================================================== */

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .scroll-cue::after {
        animation: none;
    }
}

/* ==========================================================================
   Responsivo — Tablet (>= 640px)
   ========================================================================== */

@media (min-width: 640px) {
    .atuacao-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Responsivo — Desktop (>= 900px)
   ========================================================================== */

@media (min-width: 900px) {
    .sobre-grid {
        grid-template-columns: 1.1fr 1fr;
    }

    .pilares {
        gap: var(--space-sm);
    }

    .regiao-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .atuacao-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   Menu mobile (< 900px)
   ========================================================================== */

@media (max-width: 899px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        inset: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(3, 6, 16, 0.98);
        gap: var(--space-lg);
        transform: translateX(100%);
        transition: transform var(--transition);
    }

    .nav.is-open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }

    .nav-list a {
        font-size: 1.3rem;
    }
}
