:root {
    --black: #080808;
    --black-soft: #111111;
    --card: #151515;
    --white: #ffffff;
    --gray: #a7a7a7;
    --gray-light: #d1d1d1;
    --rose: #d28b8a;
    --rose-dark: #6f2b31;
    --line: rgba(255, 255, 255, 0.14);

    --page-background: #080808;
    --section-background: #080808;
    --secondary-background: #111111;
    --card-background: #151515;

    --primary-text: #ffffff;
    --secondary-text: #a7a7a7;
    --border-color: rgba(255, 255, 255, 0.14);
    --input-background: transparent;
    --shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    --container: 1180px;
    --sans: "DM Sans", sans-serif;
    --serif: "Playfair Display", serif;
}

/* =========================================
   TEMA CLARO
   ========================================= */

body[data-theme="light"] {
    --black: #f5f2ec;
    --black-soft: #efede7;
    --card: #ffffff;
    --white: #1b1919;
    --gray: #6d6868;
    --gray-light: #3e3939;
    --rose: #8a474c;
    --rose-dark: #642d32;
    --line: rgba(34, 27, 27, 0.14);

    --page-background: #f5f2ec;
    --section-background: #f5f2ec;
    --secondary-background: #efede7;
    --card-background: #ffffff;

    --primary-text: #1b1919;
    --secondary-text: #6d6868;
    --border-color: rgba(34, 27, 27, 0.14);
    --input-background: #ffffff;
    --shadow: 0 12px 35px rgba(52, 37, 37, 0.08);
}

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

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

html {
    scroll-behavior: smooth;
    background: var(--page-background);
}

body {
    min-width: 320px;
    background: var(--page-background);
    color: var(--primary-text);
    font-family: var(--sans);
    line-height: 1.6;
    overflow-x: hidden;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

body,
button,
input,
select,
textarea {
    font-family: var(--sans);
}

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

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

button,
input,
select,
textarea {
    border: 0;
    outline: 0;
}

button {
    font: inherit;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.container {
    width: min(100% - 48px, var(--container));
    margin-inline: auto;
}

.section {
    padding: 130px 0;
}

h1,
h2,
h3,
p,
a,
button,
label {
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease;
}

/* =========================================
   TIPOGRAFIA
   ========================================= */

.eyebrow {
    margin-top: 10px;
    margin-bottom: 22px;
    color: var(--rose);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.8px;
    line-height: 1.4;
    text-transform: uppercase;
}

h1,
h2 {
    font-weight: 600;
    line-height: 1.1;
}

h1 {
    max-width: 760px;
    color: var(--primary-text);
    font-size: clamp(42px, 6vw, 86px);
    letter-spacing: -3px;
}

h2 {
    color: var(--primary-text);
    font-size: clamp(38px, 5vw, 68px);
    letter-spacing: -2px;
}

h2 em,
h1 em,
.mission em {
    color: var(--rose);
    font-family: var(--serif);
    font-weight: 400;
}

/* =========================================
   BOTÕES
   ========================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 52px;
    padding: 0 27px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: 0.25s ease;
}

.button-primary {
    background: var(--rose);
    color: var(--black);
}

.button-primary:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.button-outline {
    border: 1px solid var(--border-color);
    color: var(--primary-text);
}

.button-outline:hover {
    border-color: var(--rose);
    color: var(--rose);
}

/* =========================================
   HEADER
   ========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    background: color-mix(in srgb, var(--page-background) 88%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

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

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    white-space: nowrap;
}

.brand strong {
    color: var(--primary-text);
    font-size: 23px;
    letter-spacing: -1px;
}

.brand span {
    color: var(--secondary-text);
    font-size: 13px;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.main-navigation a {
    color: var(--secondary-text);
    font-size: 12px;
    transition: color 0.2s ease;
}

.main-navigation a:hover {
    color: var(--rose);
}

.header-button {
    padding: 11px 20px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--primary-text);
    font-size: 12px;
    transition: 0.2s ease;
}

.header-button:hover {
    border-color: var(--rose);
    color: var(--rose);
}

.menu-button {
    display: none;
    background: transparent;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 25px;
    height: 1px;
    margin: 5px 0;
    background: var(--primary-text);
}

.theme-toggle {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-left: 4px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: transparent;
    color: var(--primary-text);
    cursor: pointer;
    font-size: 19px;
    line-height: 1;
    transition: 0.25s ease;
}

.theme-toggle:hover {
    border-color: var(--rose);
    color: var(--rose);
    transform: rotate(20deg);
}

.brand-logo {
    height: 90px;
    /* altura fixa */
    width: auto;
    margin: -20px -0px;
    /* margem negativa para "cortar" o excesso dos lados */
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

body[data-theme="light"] .brand-logo {
    filter: brightness(0);
}

/* =========================================
   HERO
   ========================================= */

.hero-section {
    position: relative;
    min-height: 950px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    margin: 0;
    border: 0;
    background: #260b0d;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("./assets/images/hero.jpg");
    background-position: 38% 22%;
    background-repeat: no-repeat;
    background-size: cover;
    transform: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg,
            rgba(36, 5, 7, 0.94) 0%,
            rgba(36, 5, 7, 0.82) 32%,
            rgba(36, 5, 7, 0.52) 58%,
            rgba(36, 5, 7, 0.26) 100%),
        linear-gradient(0deg,
            rgba(8, 8, 8, 0.9) 0%,
            transparent 46%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 90px;
    padding-bottom: 100px;
    transform: translateX(16%);
}

.hero-copy {
    width: 100%;
    max-width: 650px;
    margin-left: 0;
}

.hero-copy h1 {
    max-width: 560px;
    color: #ffffff;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    column-gap: 34px;
    row-gap: 18px;
    width: 100%;
    max-width: 620px;
    margin: 38px 0;
}

.hero-feature {
    display: flex;
    align-items: center;
    min-height: 28px;
    gap: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.3;
}

.feature-icon {
    flex: 0 0 16px;
    width: 16px;
    color: #e0aaa7;
    font-size: 15px;
    line-height: 1;
    text-align: center;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-section .button-primary {
    background: var(--rose);
    color: #ffffff;
}

.hero-section .button-primary:hover {
    background: #ffffff;
    color: #441417;
}

.hero-section .button-outline {
    border-color: rgba(255, 255, 255, 0.65);
    color: #ffffff;
}

.hero-section .button-outline:hover {
    border-color: var(--rose);
    color: var(--rose);
}

/* Não cria uma faixa entre o hero e a próxima seção */
.hero-section+section {
    margin-top: 0;
    border-top: 0;
}

/* =========================================
   QUEM SOMOS
   ========================================= */

.about-section {
    background: var(--section-background);
}

.about-layout,
.selection-layout,
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 90px;
}

.about-copy>p:not(.eyebrow),
.selection-copy>p:not(.selection-highlight),
.contact-copy>p:not(.eyebrow) {
    max-width: 600px;
    margin-top: 25px;
    color: var(--secondary-text);
    font-size: 16px;
}

.pillars-introduction {
    color: var(--primary-text) !important;
    font-weight: 500;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.pillar-card {
    min-height: 190px;
    padding: 22px;
    border: 1px solid var(--border-color);
    background: var(--card-background);
    box-shadow: var(--shadow);
}

.pillar-card h3 {
    margin-bottom: 15px;
    color: var(--rose);
    font-size: 16px;
}

.pillar-card p {
    color: var(--secondary-text);
    font-size: 13px;
    line-height: 1.5;
}

.image-frame {
    overflow: hidden;
}

.image-frame-rounded {
    border-radius: 0 100px 0 100px;
}

.image-frame-rounded img {
    width: 100%;
    height: 620px;
    object-fit: cover;
}

/* =========================================
   DIFERENCIAIS
   ========================================= */

.differentials-section {
    background: var(--secondary-background);
}

body[data-theme="light"] .differentials-section {
    background:
        linear-gradient(180deg,
            #f5f2ec 0%,
            #f5f2ec 58%,
            #ffffff 58%,
            #ffffff 100%);
}

.mission {
    max-width: 760px;
    margin: 0 auto 130px;
    text-align: center;
}

.mission p {
    color: var(--primary-text);
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.2;
}

.mission strong {
    font-weight: 500;
}

.section-heading {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.section-heading h2 {
    color: var(--primary-text);
}

.section-heading h2 span {
    color: var(--rose);
}

.section-heading>p:last-child {
    margin-top: 24px;
    color: var(--secondary-text);
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 65px;
}

.differential-card {
    min-height: 245px;
    padding: 30px;
    border: 1px solid var(--border-color);
    background: var(--card-background);
    box-shadow: var(--shadow);
    transition: 0.25s ease;
}

.differential-card:hover {
    border-color: var(--rose);
    transform: translateY(-5px);
}

.card-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 30px;
    border: 1px solid var(--rose);
    color: var(--rose);
    font-size: 23px;
}

.differential-card h3 {
    margin-bottom: 12px;
    color: var(--primary-text);
    font-size: 18px;
}

.differential-card p {
    color: var(--secondary-text);
    font-size: 14px;
}

/* =========================================
   SEGURANÇA E PROTEÇÃO
   ========================================= */

.security-section {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: #4a1515;
}

.security-background,
.security-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
}

.security-background {
    background-image: url("./assets/images/security.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.security-image {
    object-fit: cover;
    object-position: center;
}

.security-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(74, 21, 21, 0.96) 0%,
            rgba(74, 21, 21, 0.82) 38%,
            rgba(74, 21, 21, 0.5) 68%,
            rgba(74, 21, 21, 0.35) 100%),
        linear-gradient(180deg,
            rgba(20, 4, 5, 0.2),
            rgba(20, 4, 5, 0.5));
}

.security-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 610px;
    padding: 150px 0;
}

.security-content h2 {
    max-width: 560px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 72px);
}

.security-description {
    max-width: 570px;
    margin: 30px 0 34px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    line-height: 1.7;
}

.security-content .eyebrow {
    color: #e3b5b2;
}

.security-content .button-primary {
    background: #d59a96;
    color: #4c2628;
}

.security-content .button-primary:hover {
    background: #ffffff;
}

/* =========================================
   SELEÇÃO
   ========================================= */

.selection-section {
    padding: 145px 0 155px;
    background: var(--section-background);
}

.selection-layout {
    grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(55px, 9vw, 130px);
}

.selection-image {
    width: 100%;
    max-width: 490px;
    overflow: hidden;
    border-radius: 0 90px 0 90px;
}

.selection-image img {
    display: block;
    width: 100%;
    height: 570px;
    object-fit: cover;
    object-position: center;
}

.selection-copy {
    max-width: 620px;
}

.selection-copy h2 {
    margin: 0;
    color: var(--primary-text);
    font-size: clamp(37px, 4.4vw, 66px);
    line-height: 1.08;
}

.selection-description {
    max-width: 520px;
    margin: 32px 0 20px;
    color: var(--secondary-text);
    font-size: 16px;
    line-height: 1.7;
}

.selection-highlight {
    margin: 0 0 25px;
    color: var(--rose);
    font-size: 15px;
    font-weight: 600;
}

.selection-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 35px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.selection-list li {
    position: relative;
    padding-left: 23px;
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.45;
}

.selection-list li::before {
    content: "◆";
    position: absolute;
    top: 1px;
    left: 0;
    color: var(--rose);
    font-size: 9px;
}

/* =========================================
   FAQ
   ========================================= */

.faq-section {
    padding: 120px 0 145px;
    background: var(--secondary-background);
}

.faq-container {
    max-width: 1050px;
    padding: 72px 80px;
    border-radius: 28px;
    border: 1px solid var(--border-color);
    background: var(--card-background);
    box-shadow: var(--shadow);
}

.faq-heading {
    margin-bottom: 65px;
}

.faq-heading h2 {
    margin: 0;
    color: var(--primary-text);
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1.05;
}

.faq-heading h2 span {
    color: var(--rose);
    font-family: var(--serif);
    font-size: 0.55em;
    font-weight: 400;
}

.faq-list {
    width: 100%;
    border-top: 1px solid var(--border-color);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 84px;
    padding: 22px 0;
    background: transparent;
    color: var(--primary-text);
    cursor: pointer;
    font-size: 16px;
    text-align: left;
}

.faq-question:hover {
    color: var(--rose);
}

.faq-symbol {
    color: var(--rose);
    font-size: 25px;
    font-weight: 300;
    transition: transform 0.25s ease;
}

.faq-item.active .faq-symbol {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    max-width: 680px;
    padding: 0 60px 25px 0;
    color: var(--secondary-text);
    font-size: 15px;
    line-height: 1.7;
}

/* =========================================
   CONTATO
   ========================================= */

.contact-section {
    background: var(--section-background);
}

.contact-copy h2 {
    margin-bottom: 10px;
    color: var(--primary-text);
}

.contact-information {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
}

.contact-information a {
    color: var(--rose);
    font-size: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 38px;
    border: 1px solid var(--border-color);
    background: var(--card-background);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    color: var(--gray-light);
    font-size: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid var(--border-color);
    background: var(--input-background);
    color: var(--primary-text);
    font-size: 15px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--secondary-text);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--rose);
}

.contact-form select {
    cursor: pointer;
}

.contact-form select:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.contact-form select.is-loading {
    cursor: wait;
    opacity: 0.65;
}

.contact-form .button-primary {
    background: var(--rose);
    color: #ffffff;
}

.form-message {
    min-height: 20px;
    color: var(--rose);
    font-size: 13px;
    line-height: 1.5;
}

.form-message.error {
    color: #e57373;
}

.form-message.success {
    color: #85c985;
}

/* =========================================
   TÍTULOS DAS ETAPAS
   ========================================= */

.contact-form h3 {
    margin-bottom: 20px;
    color: var(--rose);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* =========================================
   LOCALIZAÇÃO
   ========================================= */

.location-fields {
    align-items: start;
}

.location-message {
    display: block;
    margin-top: 6px;
    color: var(--secondary-text);
    font-size: 11px;
    line-height: 1.4;
}

.contact-form select.is-invalid {
    border-bottom-color: #e57373 !important;
    box-shadow: 0 1px 0 #e57373;
}

/* =========================================
   VALIDAÇÃO
   ========================================= */

.field-error {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    color: #e57373;
    font-size: 12px;
    line-height: 1.4;
}

.contact-form input.is-invalid,
.contact-form select.is-invalid,
.contact-form textarea.is-invalid {
    border-color: #e57373 !important;
    box-shadow: 0 0 0 2px rgba(229, 115, 115, 0.12);
}

.contact-form input.is-valid {
    border-color: #7bbf8a;
}

.contact-form input.is-invalid:focus {
    border-color: #e57373 !important;
    box-shadow: 0 0 0 2px rgba(229, 115, 115, 0.18);
}

/* =========================================
   CHECKBOXES
   ========================================= */

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 4px 0 8px;
}

.checkbox-group label {
    display: inline-flex !important;
    align-items: center;
    flex: 0 0 auto;
    width: auto !important;
    gap: 6px;
    margin: 0;
    color: var(--gray-light);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: normal;
    letter-spacing: 0;
    text-transform: none;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin: 0;
    cursor: pointer;
    accent-color: var(--rose);
}

.contact-form .lgpd-label {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 8px;
    margin: 8px 0 16px;
    color: var(--secondary-text);
    font-size: 0.8rem;
    font-weight: normal;
    letter-spacing: 0;
    text-transform: none;
}

.contact-form .lgpd-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: var(--rose);
}

/* =========================================
   ESPAÇAMENTO ENTRE PERGUNTAS
   ========================================= */

.contact-form .form-step>label,
.contact-form .form-step>.form-row,
.contact-form .form-step>.checkbox-group,
.contact-form .form-step>[id^="campo_"] {
    margin-bottom: 18px;
}

.contact-form .form-step>h3 {
    margin-bottom: 18px;
}

.contact-form .form-step>.checkbox-group {
    margin-top: -8px;
    margin-bottom: 18px;
}

.contact-form .form-step>.button,
.contact-form .form-step>.button-primary {
    margin-top: 16px;
}

.contact-form .form-step .button+.button,
.contact-form .form-step .button-primary+.button {
    margin-left: 12px;
}

/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    padding: 60px 0 25px;
    border-top: 1px solid var(--border-color);
    background: var(--secondary-background);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer-content .brand strong {
    color: var(--primary-text);
}

.footer-content .brand span {
    color: var(--secondary-text);
}

.footer-links,
.footer-contact,
.social-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-content a {
    color: var(--secondary-text);
    font-size: 13px;
}

.footer-content a:hover {
    color: var(--rose);
}

.copyright {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--secondary-text);
    font-size: 12px;
    text-align: center;
}

.site-footer .brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

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

@media (max-width: 1000px) {
    .main-navigation {
        gap: 15px;
    }

    .main-navigation a {
        font-size: 11px;
    }

    .about-layout,
    .selection-layout,
    .contact-layout {
        gap: 50px;
    }

    .differentials-grid {
        grid-template-columns: 1fr 1fr;
    }

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

/*
   CHECKBOXES DE PLATAFORMAS — MOBILE COMPACTO
*/

@media (max-width: 700px) {
    .checkbox-group {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 14px;
        width: 100%;
        margin: 8px 0 18px;
    }

    .checkbox-group label {
        display: inline-flex !important;
        align-items: center;
        width: 100% !important;
        min-width: 0;
        gap: 6px;
        margin: 0;
        font-size: 12px;
        line-height: 1.25;
        white-space: nowrap;
    }

    .checkbox-group input[type="checkbox"] {
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
        margin: 0;
    }
}

/*
   Mantém duas colunas também em telas muito pequenas.
   O texto pode quebrar somente se necessário.
*/

@media (max-width: 400px) {
    .checkbox-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px 10px;
    }

    .checkbox-group label {
        font-size: 11px;
        white-space: normal;
    }
}

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

@media (max-width: 700px) {
    .container {
        width: min(100% - 32px, var(--container));
    }

    .section {
        padding: 85px 0;
    }

    .site-header {
        padding: 20px 0;
    }

    .header-content {
        gap: 12px;
    }

    .menu-button {
        display: block;
        margin-left: auto;
    }

    .main-navigation {
        position: absolute;
        top: 75px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 24px;
        border: 1px solid var(--border-color);
        background: var(--card-background);
    }

    .main-navigation.is-open,
    .main-navigation.active {
        display: flex;
    }

    .header-button {
        display: none;
    }

    .theme-toggle {
        width: 35px;
        height: 35px;
        margin-left: 0;
    }

    /*
       HERO MOBILE
       A altura é determinada pelo conteúdo.
       Não usar 100svh aqui, pois cria espaço vazio.
    */


    .hero-section {
        min-height: auto;
        height: auto;
        align-items: center;
        /* ou Center */
        padding-bottom: 0;
        display: flex;
        overflow: hidden;
    }

    .hero-background {
        inset: 0;
        width: 100%;
        height: 100%;
        background-position: 50% center;
        background-size: cover;
        transform: none;
    }

    .hero-overlay {
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .hero-content {
        width: 100%;
        min-height: auto;
        height: auto;
        padding-top: 100px;
        padding-bottom: 32px;
        transform: none;
    }

    .hero-copy,
    .hero-features,
    .hero-actions {
        width: 100%;
        max-width: 100%;
    }

    .hero-copy h1 {
        max-width: 100%;
        font-size: clamp(36px, 10vw, 48px);
        line-height: 1.08;
        letter-spacing: -1.5px;
    }

    .hero-features {
        gap: 14px;
        margin: 28px 0;
    }

    .hero-feature {
        min-height: auto;
        font-size: 13px;
        white-space: normal;
    }

    .hero-feature span {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding-bottom: 0;
    }

    .hero-actions .button {
        width: 100%;
        min-height: 52px;
        white-space: normal;
        text-align: center;
    }

    .about-layout,
    .selection-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .about-copy {
        order: 1;
    }

    .about-image {
        order: 2;
    }

    .pillars,
    .differentials-grid,
    .form-row,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .selection-list {
        grid-template-columns: 1fr;
    }

    .image-frame-rounded img,
    .selection-image img {
        height: 430px;
    }

    .security-section {
        min-height: 680px;
    }

    .security-background,
    .security-image {
        background-position: 62% center;
        object-position: 62% center;
    }

    .security-overlay {
        background:
            linear-gradient(90deg,
                rgba(74, 21, 21, 0.93),
                rgba(74, 21, 21, 0.68)),
            linear-gradient(180deg,
                rgba(20, 4, 5, 0.35),
                rgba(20, 4, 5, 0.72));
    }

    .security-content {
        padding: 120px 0 90px;
    }

    .security-content h2 {
        font-size: 43px;
    }

    .security-description {
        font-size: 15px;
    }

    .security-content .button {
        width: 100%;
    }

    .selection-section {
        padding: 90px 0 100px;
    }

    .selection-layout {
        gap: 55px;
    }

    .selection-image {
        max-width: 100%;
        border-radius: 0 60px 0 60px;
    }

    .selection-copy h2 {
        font-size: 42px;
    }

    .faq-section {
        padding: 85px 0 100px;
    }

    .faq-container {
        padding: 45px 22px;
        border-radius: 20px;
    }

    .faq-heading {
        margin-bottom: 40px;
    }

    .faq-heading h2 {
        font-size: 43px;
    }

    .faq-question {
        min-height: 72px;
        font-size: 15px;
    }

    .faq-answer p {
        padding-right: 20px;
        font-size: 14px;
    }

    .contact-form {
        gap: 20px;
        padding: 24px 18px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form .form-step>label,
    .contact-form .form-step>.form-row,
    .contact-form .form-step>.checkbox-group,
    .contact-form .form-step>[id^="campo_"] {
        margin-bottom: 20px;
    }

    .contact-form .form-step>h3 {
        margin-bottom: 24px;
    }

    .contact-form .form-step .button+.button,
    .contact-form .form-step .button-primary+.button {
        margin-top: 12px;
        margin-left: 0;
    }

    .contact-form .form-step .button,
    .contact-form .form-step .button-primary {
        width: 100%;
    }

    .location-fields {
        gap: 0;
    }
}

/* =========================================
   TELAS MUITO PEQUENAS
   ========================================= */

@media (max-width: 400px) {
    .checkbox-group label {
        flex: 0 0 100%;
    }

    .hero-content {
        padding-top: 90px;
    }

    .hero-copy h1 {
        font-size: clamp(34px, 10vw, 42px);
    }
}

/*
   AJUSTE GERAL DO SITE NO MOBILE
   Melhora respiro, proporção e leitura sem deslocar a imagem
*/

@media (max-width: 700px) {
    .container {
        width: calc(100% - 40px);
        max-width: none;
    }

    /* Hero centraliza o conteúdo verticalmente, sem padding fixo */
    .hero-section {
        min-height: auto;
        height: auto;
        display: flex;
        align-items: center;
    }

    .hero-content {
        width: 100%;
        padding-top: 90px;
        /* só respiro mínimo para o header fixo */
        padding-bottom: 48px;
        transform: none;
    }


    .hero-copy {
        max-width: 100%;
    }

    .hero-copy .eyebrow {
        max-width: 280px;
        margin-bottom: 18px;
        font-size: 10px;
        letter-spacing: 2px;
        line-height: 1.5;
    }

    .hero-copy h1 {
        max-width: 340px;
        margin-bottom: 0;
        font-size: clamp(37px, 10.5vw, 47px);
        line-height: 1.08;
        letter-spacing: -1.6px;
    }

    /*
     * Benefícios com mais respiro entre linhas.
     * Mantém duas colunas no hero, sem alterar checkboxes do formulário.
     */
    .hero-features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 18px;
        row-gap: 18px;
        max-width: 100%;
        margin: 34px 0 36px;
    }

    .hero-feature {
        min-height: 30px;
        gap: 8px;
        font-size: 12px;
        line-height: 1.35;
    }

    .feature-icon {
        flex-basis: 13px;
        width: 13px;
        font-size: 12px;
    }

    /*
     * Botões maiores e separados, com área confortável para toque.
     */
    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        width: 100%;
    }

    .hero-actions .button {
        width: 100%;
        min-height: 54px;
        padding: 0 18px;
        font-size: 11px;
        line-height: 1.3;
        text-align: center;
    }

    /*
     * Espaço entre o hero e a seção seguinte.
     * Evita que "Quem Somos" fique colado aos botões.
     */
    .about-section,
    .hero-section+section {
        padding-top: 88px;
    }

    /*
     * Seções internas mais confortáveis no celular.
     */
    .section {
        padding-top: 88px;
        padding-bottom: 88px;
    }

    .about-layout,
    .selection-layout,
    .contact-layout {
        gap: 48px;
    }

    .about-copy>p:not(.eyebrow),
    .selection-copy>p:not(.selection-highlight),
    .contact-copy>p:not(.eyebrow) {
        margin-top: 20px;
        font-size: 15px;
        line-height: 1.7;
    }

    .pillars,
    .differentials-grid {
        gap: 14px;
        margin-top: 34px;
    }

    .pillar-card,
    .differential-card {
        min-height: auto;
        padding: 24px;
    }

    .selection-section {
        padding-top: 88px;
        padding-bottom: 96px;
    }

    .faq-section {
        padding-top: 88px;
        padding-bottom: 96px;
    }

    .contact-section {
        padding-top: 88px;
        padding-bottom: 96px;
    }
}

/*
   Telas pequenas: evita que o conteúdo fique apertado
*/

@media (max-width: 400px) {
    .container {
        width: calc(100% - 32px);
    }

    .hero-content {
        padding-top: 94px;
        padding-bottom: 56px;
    }

    .hero-copy h1 {
        max-width: 300px;
        font-size: 36px;
        letter-spacing: -1.3px;
    }

    .hero-features {
        grid-template-columns: 1fr;
        row-gap: 14px;
        margin-top: 30px;
        margin-bottom: 32px;
    }

    .hero-feature {
        min-height: 28px;
    }

    .hero-actions .button {
        min-height: 52px;
    }
}