:root {
    --color-primary: #1aa8e3;
    --color-primary-dark: #0b8dc5;
    --color-whatsapp: #25d366;
    --color-whatsapp-dark: #1ea952;
    --color-navy: #0b1f57;
    --color-navy-soft: #14367f;
    --color-text: #1d2430;
    --color-muted: #6b7280;
    --color-white: #ffffff;
    --color-soft: #eef7ff;
    --color-border: rgba(11, 31, 87, 0.12);
    --color-border-strong: rgba(11, 31, 87, 0.18);
    --shadow-soft: 0 14px 34px rgba(11, 31, 87, 0.08);
    --shadow-strong: 0 24px 60px rgba(11, 31, 87, 0.14);
    --shadow-header: 0 10px 30px rgba(11, 31, 87, 0.08);
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --container: 1200px;
    --header-height: 92px;
    --section-space: 100px;
    --transition: 0.35s ease;
}

/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    background: none;
    border: 0;
}

input,
textarea,
button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(26, 168, 227, 0.25);
    outline-offset: 3px;
    border-radius: 12px;
}

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(11, 31, 87, 0.08);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-header);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    height: 62px;
    width: auto;
    object-fit: contain;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.desktop-nav a {
    position: relative;
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--color-navy);
    transition: var(--transition);
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--color-primary);
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: var(--color-primary-dark);
}

.desktop-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* MENU MOBILE */
.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(11, 31, 87, 0.12);
    background: #ffffff;
    border-radius: 14px;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: #f3fbff;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--color-navy);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 0 16px 16px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(11, 31, 87, 0.06);
}

.mobile-nav a {
    color: var(--color-navy);
    background: #f7fbff;
    border: 1px solid rgba(11, 31, 87, 0.06);
    border-radius: 14px;
    padding: 14px 16px;
    font-weight: 700;
}

.mobile-nav.open {
    display: flex;
}

/* BOTÕES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    white-space: nowrap;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    box-shadow: 0 14px 28px rgba(26, 168, 227, 0.24);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--color-whatsapp), var(--color-whatsapp-dark));
    color: var(--color-white);
    box-shadow: 0 14px 28px rgba(37, 211, 102, 0.24);
}

.btn-header {
    min-height: 48px;
    padding: 0 22px;
}

.btn-full {
    width: 100%;
}

/* HERO */
.hero {
    position: relative;
    padding-top: var(--header-height);
    background: #08173f;
    overflow: hidden;
}

.hero-media {
    position: relative;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
}

.hero-overlay {
    position: absolute;
    inset: var(--header-height) 0 0 0;
    background: linear-gradient(180deg,
            rgba(11, 31, 87, 0.08) 0%,
            rgba(11, 31, 87, 0.18) 42%,
            rgba(11, 31, 87, 0.76) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-inner {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 3;
    padding-bottom: 44px;
}

.hero-copy {
    max-width: 620px;
    margin-left: auto;
    color: var(--color-white);
    background: rgba(8, 23, 63, 0.42);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 28px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #9be6ff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow-dark {
    color: var(--color-primary-dark);
}

.hero-copy h1 {
    font-size: clamp(2.2rem, 5vw, 4.1rem);
    line-height: 1;
    font-weight: 900;
    margin-bottom: 18px;
    text-wrap: balance;
}

.hero-copy p {
    max-width: 560px;
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* SEÇÕES */
.section {
    padding: var(--section-space) 0;
}

.section-light {
    background: var(--color-white);
}

.section-soft {
    background: linear-gradient(180deg, #f7fbff, #eef7ff);
}

.section-heading {
    max-width: 860px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.08;
    margin-bottom: 16px;
    color: var(--color-navy);
    text-wrap: balance;
}

.section-heading p {
    color: var(--color-muted);
    font-size: 1rem;
}

/* BLOCOS */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
    margin-bottom: 60px;
}

.feature-block:last-child {
    margin-bottom: 0;
}

.feature-block.reverse .feature-media {
    order: 2;
}

.feature-block.reverse .feature-copy {
    order: 1;
}

.media-full,
.gallery-card,
.cert-card,
.contact-card,
.content-card,
.timeline-item,
.highlight-box,
.accreditation {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.image-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.image-card img,
.gallery-card img,
.cert-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.feature-copy h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    margin-bottom: 18px;
    color: var(--color-navy);
}

.feature-copy p {
    color: var(--color-muted);
    margin-bottom: 14px;
    font-size: 1rem;
}

/* GALERIA */
.gallery-grid {
    display: grid;
    gap: 24px;
}

.gallery-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.gallery-card img {
    background: #f5f8fb;
}

.gallery-card-copy {
    padding: 22px;
}

.gallery-card-copy h3 {
    color: var(--color-navy);
    margin-bottom: 8px;
    font-size: 1.12rem;
}

.gallery-card-copy p {
    color: var(--color-muted);
}

/* CERTIFICAÇÕES */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cert-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.cert-card img {
    background: #f5f8fb;
}

.cert-card-copy {
    padding: 22px;
}

.cert-card-copy h3 {
    color: var(--color-navy);
    margin-bottom: 8px;
    font-size: 1.06rem;
}

.cert-card-copy p {
    color: var(--color-muted);
    font-size: 0.96rem;
}

/* TIMELINE */
.timeline {
    display: grid;
    gap: 18px;
    max-width: 980px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 22px;
    padding: 26px;
    border-radius: 24px;
}

.timeline-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary), #8edfff);
    color: var(--color-white);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.timeline-content h3 {
    color: var(--color-navy);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--color-muted);
}

/* STATS */
.stats-bar {
    background: linear-gradient(135deg, var(--color-navy), var(--color-navy-soft));
    padding: 38px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat-card {
    text-align: center;
    color: var(--color-white);
    padding: 18px;
}

.stat-card strong {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 8px;
}

.stat-card span {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
}

/* CARDS */
.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.content-card {
    border-radius: var(--radius-md);
    padding: 30px;
    transition: var(--transition);
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.content-card h3 {
    margin-bottom: 12px;
    color: var(--color-navy);
    font-size: 1.2rem;
}

.content-card p {
    color: var(--color-muted);
}

/* SERVIÇOS */
.section-services {
    position: relative;
    overflow: hidden;
}

.section-services .section-heading {
    margin-bottom: 40px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-row {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    align-items: flex-start;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.service-row:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(26, 168, 227, 0.22);
}

.service-index {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eaf8ff, #d8f2ff);
    color: var(--color-primary-dark);
    font-weight: 900;
    font-size: 1rem;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(26, 168, 227, 0.08);
}

.service-content {
    display: grid;
    gap: 6px;
}

.service-content h3 {
    color: var(--color-navy);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.2;
}

.service-content p {
    color: var(--color-muted);
    font-size: 0.98rem;
    margin: 0;
}

/* CONTATO */
.contact-accordion {
    max-width: 1180px;
    margin: 0 auto;
}

.contact-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
    background: linear-gradient(180deg, #f8fcff, #eef7ff);
    border: 1px solid rgba(11, 31, 87, 0.1);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    padding: 28px 30px;
    cursor: pointer;
    transition: var(--transition);
}

.contact-toggle:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.contact-toggle-text h2 {
    color: var(--color-navy);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    margin-bottom: 10px;
}

.contact-toggle-text p {
    color: var(--color-muted);
    max-width: 720px;
}

.contact-toggle-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.35s ease;
}

.contact-toggle.active .contact-toggle-icon {
    transform: rotate(45deg);
}

.contact-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.55s ease;
}

.contact-content.open {
    max-height: 2200px;
}

.contact-content-inner {
    padding-top: 24px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
}

.contact-info {
    display: grid;
    gap: 18px;
}

.contact-card {
    border-radius: 24px;
    padding: 24px;
}

.contact-card h3 {
    margin-bottom: 8px;
    color: var(--color-navy);
    font-size: 1.08rem;
}

.contact-card p {
    color: var(--color-muted);
}

.contact-form {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    padding: 28px;
    display: grid;
    gap: 18px;
}

.contact-form-actions {
    display: grid;
    gap: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-weight: 700;
    color: var(--color-navy);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(11, 31, 87, 0.12);
    border-radius: 16px;
    padding: 14px 16px;
    background: #fbfdff;
    transition: var(--transition);
    resize: vertical;
}

.contact-form input:hover,
.contact-form textarea:hover {
    border-color: var(--color-border-strong);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(26, 168, 227, 0.12);
    background: var(--color-white);
}

.form-message {
    min-height: 24px;
    font-size: 0.95rem;
    color: #0b8f5a;
    font-weight: 700;
}

.whatsapp-inline,
.instagram-inline {
    font-weight: 800;
}

.whatsapp-inline {
    color: var(--color-whatsapp-dark);
}

.instagram-inline {
    color: var(--color-primary-dark);
}

/* REGIÕES */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.regions-grid span {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    text-align: center;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    color: var(--color-navy);
    font-weight: 700;
    transition: var(--transition);
}

.regions-grid span:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

/* INSTAGRAM */
.instagram-cta {
    display: flex;
    justify-content: center;
}

/* CTAS FLUTUANTES */
.floating-cta,
.floating-whatsapp {
    position: fixed;
    z-index: 999;
    min-height: 54px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--color-white);
    font-weight: 800;
    transition: var(--transition);
}

.floating-cta {
    right: 22px;
    bottom: 16px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    box-shadow: 0 16px 30px rgba(26, 168, 227, 0.28);
}

.floating-whatsapp {
    right: 22px;
    left: auto;
    bottom: 92px;
    background: linear-gradient(135deg, var(--color-whatsapp), var(--color-whatsapp-dark));
    box-shadow: 0 16px 30px rgba(37, 211, 102, 0.28);
}

.floating-cta:hover,
.floating-whatsapp:hover {
    transform: translateY(-3px);
}

/* FOOTER */
.site-footer {
    background: #061846;
    align-items: left;
    color: rgba(255, 255, 255, 0.84);
    padding: 34px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-logo {
    height: 54px;
    width: auto;
}

/* ANIMAÇÕES */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVO */
@media (max-width: 1200px) {

    .gallery-grid-4,
    .cert-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-inner {
        position: relative;
        inset: auto;
        padding: 32px 0 0;
    }

    .hero-copy {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 1100px) {

    .feature-block,
    .contact-layout,
    .cards-3 {
        grid-template-columns: 1fr;
    }

    .feature-block.reverse .feature-media,
    .feature-block.reverse .feature-copy {
        order: initial;
    }
}

@media (max-width: 860px) {

    .desktop-nav,
    .btn-header {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .section {
        padding: 82px 0;
    }

    .hero-inner {
        padding: 22px 0 0;
    }

    .hero-copy {
        padding: 22px;
        border-radius: 22px;
    }

    .hero-copy h1 {
        font-size: clamp(2rem, 9vw, 3.3rem);
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .gallery-grid-4,
    .cert-grid,
    .stats-grid,
    .form-row,
    .services-list,
    .regions-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-logo {
        height: 56px;
    }

    .contact-toggle {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-toggle-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 560px) {
    :root {
        --header-height: 80px;
    }

    .container {
        width: min(100% - 22px, var(--container));
    }

    .header-inner {
        min-height: 80px;
    }

    .brand-logo {
        height: 48px;
    }

    .hero-copy h1 {
        font-size: clamp(1.9rem, 10vw, 2.7rem);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .service-row {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .service-index {
        width: 48px;
        height: 48px;
    }

    .service-content h3 {
        font-size: 1rem;
    }

    .service-content p {
        font-size: 0.95rem;
    }

    .floating-cta,
    .floating-whatsapp {
        left: auto;
        right: 16px;
        width: auto;
        min-width: 220px;
    }

    .floating-whatsapp {
        bottom: 78px;
    }

    .floating-cta {
        bottom: 16px;
    }

    .contact-form,
    .content-card,
    .contact-card,
    .timeline-item,
    .contact-toggle,
    .gallery-card,
    .cert-card,
    .image-card {
        border-radius: 20px;
    }
    
}