/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    background-color: #ffffff;

    color: #172026;

    line-height: 1.6;

    overflow-x: hidden;
}


/* =========================
   VARIÁVEIS
========================= */

:root {
    --color-primary: #0B5D68;
    --color-primary-dark: #073B42;
    --color-primary-light: #43B8B0;
    --color-mint: #E8F6F7;

    --color-text: #172026;
    --color-text-secondary: #667085;
    --color-text-light: #CBDCDD;

    --color-white: #ffffff;
    --color-background: #F5F7F8;
    --color-background-soft: #F5FAFA;

    --color-border: rgba(11, 93, 104, 0.12);
    --color-border-light: rgba(255, 255, 255, 0.10);

    --shadow-small:
        0 8px 20px rgba(11, 93, 104, 0.07);

    --shadow-medium:
        0 14px 34px rgba(11, 93, 104, 0.10);

    --shadow-large:
        0 24px 60px rgba(11, 93, 104, 0.16);

    --radius-small: 8px;
    --radius-medium: 14px;
    --radius-large: 20px;
    --radius-pill: 999px;

    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
}


/* =========================
   ELEMENTOS GERAIS
========================= */

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

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: none;
}

ul,
ol {
    list-style-position: inside;
}


/* =========================
   TÍTULOS
========================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-text);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

h3 {
    font-size: 1.25rem;
}


/* =========================
   TEXTO
========================= */

p {
    color: var(--color-text-secondary);
}


/* =========================
   SEÇÕES
========================= */

.section {
    padding: 110px 8%;
}

.section-soft {
    background-color: var(--color-background-soft);
}

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


/* =========================
   SECTION HEADING
========================= */

.section-heading {
    max-width: 760px;
    margin-bottom: 50px;
}

.section-heading h2 {
    margin-bottom: 16px;
}

.section-heading p {
    max-width: 650px;
    font-size: 17px;
    line-height: 1.75;
}

.section-heading-light h2 {
    color: #ffffff;
}

.section-heading-light p {
    color: #D2E4E6;
}


/* =========================
   LABEL
========================= */

.section-label,
.hero-label {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-label-light {
    color: #72D1CB;
}


/* =========================
   LAYOUTS
========================= */

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 80px;
}


/* =========================
   HERO DE PÁGINAS
========================= */

.page-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 130px 8% 100px;
    overflow: hidden;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.page-hero-content h1 {
    margin-bottom: 24px;
}

.page-hero-content p {
    max-width: 650px;
    font-size: 18px;
    line-height: 1.75;
}


/* =========================
   CTA DE PÁGINA
========================= */

.page-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 80px 8%;
    background-color: var(--color-background-soft);
}

.page-cta h2 {
    max-width: 700px;
    margin-bottom: 12px;
}

.page-cta p {
    max-width: 580px;
}

.page-cta-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}


/* =========================
   FOCUS / ACESSIBILIDADE
========================= */

:focus-visible {
    outline: 3px solid var(--color-primary-light);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 9999;
    padding: 10px 16px;
    border-radius: 0 0 10px 10px;
    background-color: var(--color-primary-dark);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}


/* =========================
   ANIMAÇÕES GERAIS
========================= */

.animar {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

.animar.mostrar {
    opacity: 1;
    transform: translateY(0);
}


/* =========================
   REDUZIR MOVIMENTO
========================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {
    .section {
        padding: 90px 6%;
    }

    .page-hero {
        min-height: 540px;
        padding: 120px 6% 80px;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .page-cta {
        padding: 70px 6%;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
    .section {
        padding: 75px 6%;
    }

    .page-hero {
        min-height: auto;
        padding: 100px 6% 70px;
    }

    .page-hero-content p {
        font-size: 16px;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .section-heading p {
        font-size: 16px;
    }

    .page-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 60px 6%;
    }
}


/* =========================
   MOBILE PEQUENO
========================= */

@media (max-width: 480px) {
    .section {
        padding: 65px 5%;
    }

    .page-hero {
        padding: 85px 5% 60px;
    }
}
