/* ==========================================================================
   DM Corretora de Seguros
   ========================================================================== */

:root {
    --bg: #0b0908;
    --bg-2: #100d0b;
    --bg-3: #171310;
    --gold: #c9a46a;
    --gold-soft: #e3c497;
    --text: #f4efe8;
    --muted: rgba(244, 239, 232, 0.68);
    --line: rgba(201, 164, 106, 0.22);
    --line-strong: rgba(201, 164, 106, 0.55);

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Poppins', system-ui, sans-serif;

    --nav-h: 84px;
    --radius: 14px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

a {
    color: inherit;
}

h1, h2, h3, h4 {
    font-weight: 400;
}

:focus-visible {
    outline: 2px solid var(--gold-soft);
    outline-offset: 3px;
}

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

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Tipografia compartilhada
   -------------------------------------------------------------------------- */

.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}

h1 em,
h2 em {
    font-style: normal;
    color: var(--gold-soft);
}

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.7rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.btn .icon {
    width: 1.1rem;
    height: 1.1rem;
}

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

.btn--gold {
    background: linear-gradient(180deg, #e6c99c, #c9a46a);
    color: #1a130b;
    box-shadow: 0 8px 24px rgba(201, 164, 106, 0.22);
}

.btn--gold:hover {
    background: linear-gradient(180deg, #f0d6ad, #d5b07a);
    box-shadow: 0 12px 30px rgba(201, 164, 106, 0.32);
}

.btn--ghost {
    border-color: rgba(244, 239, 232, 0.35);
    color: var(--text);
    background: rgba(11, 9, 8, 0.25);
    backdrop-filter: blur(6px);
}

.btn--ghost:hover {
    border-color: var(--gold-soft);
    color: var(--gold-soft);
}

.btn--sm {
    padding: 0.7rem 1.3rem;
    font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   Fundos com ondas douradas (mesma linguagem visual em todas as páginas).
   Cada seção pode trocar a imagem (--waves-img) e a intensidade (--waves-opacity).
   -------------------------------------------------------------------------- */

.waves {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #030100;
}

.waves::before,
.waves::after {
    content: '';
    position: absolute;
    left: 0;
    z-index: -1;
    width: 100%;
    aspect-ratio: 1672 / 941;
    background: var(--waves-img, url('img/ondas-bg.jpg')) center / cover no-repeat;
    opacity: var(--waves-opacity, 1);
    pointer-events: none;
}

.waves::before {
    top: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 90%);
    mask-image: linear-gradient(180deg, #000 60%, transparent 90%);
}

.waves::after {
    bottom: 0;
    -webkit-mask-image: linear-gradient(0deg, #000 16%, transparent 40%);
    mask-image: linear-gradient(0deg, #000 16%, transparent 40%);
}

.waves--top::after,
.waves--bottom::before {
    display: none;
}

@media (max-width: 600px) {
    .waves::before,
    .waves::after {
        left: -60%;
        width: 220%;
    }
}

/* --------------------------------------------------------------------------
   Navegação (transparente sobre o hero; sólida ao rolar e nas outras páginas)
   -------------------------------------------------------------------------- */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(11, 9, 8, 0.7) 0%, rgba(11, 9, 8, 0) 100%) no-repeat;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.navbar.is-scrolled,
body:not([data-page='home']) .navbar {
    background: rgba(11, 9, 8, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--line);
}

.nav-content {
    max-width: 1200px;
    height: var(--nav-h);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
}

/* Logo: monograma DM + CORRETORA DE SEGUROS */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    background: linear-gradient(180deg, #f0d6ad 0%, #c9a46a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-mark {
    position: relative;
    padding-bottom: 0.45rem;
    font-family: var(--font-serif);
    font-size: 2.7rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.07em;
}

.logo-mark::after {
    content: '';
    position: absolute;
    left: -3px;
    right: -8px;
    bottom: 0;
    height: 0.55rem;
    border-bottom: 1.5px solid var(--gold);
    border-radius: 0 0 55% 45% / 0 0 100% 100%;
}

.logo-word {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-word strong {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.15em;
}

.logo-word small {
    margin-top: 0.4rem;
    padding-left: 0.34em;
    font-family: var(--font-sans);
    font-size: 0.56rem;
    letter-spacing: 0.34em;
    text-align: center;
}

.nav-links {
    flex: 1;
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2.4rem;
    margin: 0 auto;
}

.nav-links a {
    position: relative;
    font-size: 0.86rem;
    text-decoration: none;
    color: var(--text);
    transition: color 0.3s;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-current {
    color: var(--gold-soft);
}

.nav-menu a:hover::after,
.nav-menu a.is-current::after {
    transform: scaleX(1);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.5rem;
    border: 1px solid var(--gold);
    border-radius: 999px;
    color: var(--gold-soft) !important;
    background: rgba(11, 9, 8, 0.25);
}

.nav-cta .icon {
    width: 1rem;
    height: 1rem;
}

.nav-cta:hover {
    background: var(--gold);
    color: #1a130b !important;
}

.mobile-menu-button {
    display: none;
    margin-left: auto;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    padding: 0 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.2s;
}

.mobile-menu-button.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-button.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Páginas (uma visível por vez)
   -------------------------------------------------------------------------- */

.page {
    display: none;
}

.page.is-active {
    display: block;
}

.page-head {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    margin-top: 0.75rem;
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1.15;
}

.section-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 1px;
    margin: 1.25rem auto 0;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* --------------------------------------------------------------------------
   HOME · Hero (foto cobrindo toda a seção, menu transparente por cima)
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(640px, 100vh, 900px);
    min-height: clamp(640px, 100svh, 900px);
    padding-top: var(--nav-h);
    overflow: hidden;
    background: var(--bg);
}

.hero-media {
    position: absolute;
    inset: 0;
}

/* A foto é deslocada para a direita (a Diele fica mais à direita) e a borda esquerda
   é esmaecida para se fundir com o fundo escuro. */
.hero-media img {
    position: absolute;
    top: 0;
    left: 8%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% 38%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%);
    mask-image: linear-gradient(90deg, transparent 0, #000 14%);
}

/* Escurece a esquerda (texto), o topo (menu) e a base (emenda com a próxima seção) */
.hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 9, 8, 0.88) 0%, rgba(11, 9, 8, 0.6) 30%, rgba(11, 9, 8, 0.12) 55%, rgba(11, 9, 8, 0) 70%),
        linear-gradient(0deg, var(--bg-2) 0%, rgba(16, 13, 11, 0) 22%),
        linear-gradient(180deg, rgba(11, 9, 8, 0.55) 0%, rgba(11, 9, 8, 0) 24%);
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 560px;
    padding: 3rem 0 4rem;
}

.hero-copy > * {
    animation: rise 0.9s var(--ease) both;
}

.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.24s; }

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.hero-copy h1 {
    margin: 1.1rem 0 1.4rem;
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 4.2vw, 3.6rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.hero-copy p {
    max-width: 440px;
    margin-bottom: 2.2rem;
    font-size: 0.98rem;
    font-weight: 300;
    color: rgba(244, 239, 232, 0.82);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

/* --------------------------------------------------------------------------
   HOME · Nossos seguros
   -------------------------------------------------------------------------- */

.home-seguros {
    --waves-opacity: 0.55;
    scroll-margin-top: calc(var(--nav-h) - 40px);
    padding: 88px 0;
    border-top: 1px solid var(--line);
}

.home-seguros .container {
    max-width: 1400px;
}

.home-seguros__intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem 4rem;
    margin-bottom: 2.6rem;
}

.home-seguros__intro h2 {
    margin-top: 1rem;
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    line-height: 1.18;
}

.home-seguros__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    max-width: 430px;
}

.home-seguros__aside p {
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--muted);
}

.seg-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 0.76fr);
    grid-auto-rows: minmax(190px, auto);
    gap: 1rem;
}

.seg-card {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    gap: 0.6rem;
    padding: 0.9rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-3);
    text-decoration: none;
    transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}

.seg-card::before,
.seg-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.seg-card::before {
    z-index: -2;
    background: var(--photo, none) center / cover no-repeat;
    transition: transform 0.7s var(--ease);
}

.seg-card::after {
    z-index: -1;
    background: linear-gradient(0deg, rgba(8, 6, 5, 0.96) 0%, rgba(8, 6, 5, 0.82) 32%, rgba(8, 6, 5, 0.15) 68%, rgba(8, 6, 5, 0) 100%);
}

.seg-card:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(201, 164, 106, 0.08);
}

.seg-card:hover::before {
    transform: scale(1.06);
}

.seg-card__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--gold-soft);
    background: rgba(8, 6, 5, 0.55);
}

.seg-card__icon .icon {
    width: 19px;
    height: 19px;
}

.seg-card__text {
    flex: 1;
    min-width: 0;
}

.seg-card h3 {
    font-family: var(--font-serif);
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.2;
}

.seg-card p {
    margin-top: 0.25rem;
    font-size: 0.7rem;
    line-height: 1.45;
    color: var(--muted);
}

.seg-card__arrow {
    display: grid;
    place-items: center;
    flex: none;
    width: 26px;
    height: 26px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--gold-soft);
    transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}

.seg-card__arrow .icon {
    width: 13px;
    height: 13px;
}

.seg-card:hover .seg-card__arrow {
    transform: translateX(3px);
    background: var(--gold);
    color: var(--bg);
}

/* Card alto "Outros ramos": ocupa as duas linhas da última coluna */
.seg-card--outros {
    grid-column: 5;
    grid-row: 1 / span 2;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.4rem 1rem;
    text-align: center;
    border-color: var(--line-strong);
}

.seg-card--outros::after {
    background: radial-gradient(120% 70% at 50% 50%, rgba(8, 6, 5, 0.86), rgba(8, 6, 5, 0.5));
}

.seg-card__shield {
    width: 38px;
    height: 38px;
    stroke-width: 1.4;
    color: var(--gold);
}

.seg-card__eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
}

.seg-card--outros p {
    margin-top: 0.9rem;
    font-size: 0.8rem;
    line-height: 1.6;
    text-align: left;
    color: var(--text);
}

.seg-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.6rem;
    padding: 0.55rem 0.95rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 0.72rem;
    white-space: nowrap;
    color: var(--text);
    transition: background 0.3s, color 0.3s;
}

.seg-card__btn .icon {
    width: 13px;
    height: 13px;
}

.seg-card--outros:hover .seg-card__btn {
    background: var(--gold);
    color: var(--bg);
}

@media (max-width: 1100px) {
    .seg-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seg-card--outros {
        grid-column: 1 / -1;
        grid-row: auto;
        flex-direction: row;
        justify-content: flex-start;
        gap: 1.4rem;
        padding: 1.4rem 1.6rem;
        text-align: left;
    }

    .seg-card--outros .seg-card__text {
        flex: 1;
    }

    .seg-card--outros p {
        margin-top: 0.5rem;
        max-width: 520px;
    }
}

@media (max-width: 760px) {
    .home-seguros__intro {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .seg-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(180px, auto);
    }

    .seg-card--outros {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.8rem 1.4rem;
    }

    .seg-card--outros p {
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   HOME · Por que escolher
   -------------------------------------------------------------------------- */

.home-why {
    padding: 84px 0 110px;
    border-top: 1px solid var(--line);
}

.home-why__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2.4rem 3rem;
    align-items: center;
}

.home-why__copy {
    grid-column: 1 / -1;
}

.home-why__copy h2 {
    margin-top: 1rem;
    max-width: 640px;
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    line-height: 1.18;
}

.stats {
    display: flex;
    list-style: none;
}

.stats li {
    display: flex;
    flex: 1;
    align-items: flex-start;
    gap: 0.9rem;
    max-width: 290px;
    padding: 0 1.8rem;
}

.stats li + li {
    border-left: 1px solid var(--line);
}

.stats li:first-child {
    padding-left: 0;
}

.stats .icon {
    width: 30px;
    height: 30px;
    margin-top: 2px;
    stroke-width: 1.3;
    color: var(--gold);
}

.stats strong {
    display: block;
    margin-bottom: 0.3rem;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.2;
}

.stats span {
    display: block;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   SOBRE
   -------------------------------------------------------------------------- */

.about-section {
    --waves-opacity: 0.6;
}

/* As ondas de cima somem antes do texto, para não cruzar os parágrafos */
.about-section::before {
    -webkit-mask-image: linear-gradient(180deg, #000 28%, transparent 52%);
    mask-image: linear-gradient(180deg, #000 28%, transparent 52%);
}

.about-section,
.faq-section,
.contato-section {
    padding: calc(var(--nav-h) + 64px) 0 88px;
}

.about-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: top;
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.about-image::before,
.about-image::after {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    border: 1px solid var(--gold);
    pointer-events: none;
}

.about-image::before {
    top: -16px;
    left: -16px;
    border-right: 0;
    border-bottom: 0;
    border-top-left-radius: 8px;
}

.about-image::after {
    right: -16px;
    bottom: -16px;
    border-left: 0;
    border-top: 0;
    border-bottom-right-radius: 8px;
}

.about-badge {
    position: absolute;
    left: 24px;
    bottom: -22px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.2rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--bg-2);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.about-badge .icon {
    width: 26px;
    height: 26px;
    color: var(--gold);
    flex: none;
}

.about-badge strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1.2;
}

.about-badge span {
    font-size: 0.74rem;
    color: var(--muted);
}

.about-description p {
    margin-bottom: 1.1rem;
    font-weight: 300;
    color: var(--muted);
}

.about-description strong {
    font-weight: 500;
    color: var(--gold-soft);
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 1.6rem 0;
}

.about-highlights li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.92rem;
    color: var(--text);
}

.about-highlights .icon {
    width: 18px;
    height: 18px;
    flex: none;
    padding: 3px;
    border-radius: 50%;
    color: var(--gold);
    background: rgba(201, 164, 106, 0.12);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin: 2rem 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1.1rem 1.3rem;
    background: var(--bg-2);
    min-width: 0;
}

.info-label {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.info-value {
    font-size: 0.92rem;
    overflow-wrap: anywhere;
}

.info-value a {
    text-decoration: none;
    transition: color 0.3s;
}

.info-value a:hover {
    color: var(--gold-soft);
}

/* Sobre · Nossa equipe: cada foto é um "capítulo" sobre a corretora */
.team {
    position: relative;
    margin-top: 6.5rem;
}

/* Faixa de ondas atrás do título da equipe, de ponta a ponta da tela, sumindo em cima e embaixo */
.team::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    z-index: -1;
    width: 100vw;
    height: 640px;
    transform: translateX(-50%);
    background: url('img/ondas-bg.jpg') center 30% / cover no-repeat;
    opacity: 0.55;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 52%, transparent 88%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 52%, transparent 88%);
    pointer-events: none;
}

.team-head {
    max-width: 640px;
    margin: 0 auto 3rem;
    text-align: center;
}

.team-head h3 {
    margin: 0.9rem 0;
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 400;
    line-height: 1.2;
}

.team-head p {
    font-weight: 300;
    color: var(--muted);
}

.team-photo {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-3);
    transition: border-color 0.3s, box-shadow 0.4s;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.92) contrast(1.03);
    transition: transform 0.8s var(--ease);
}

.team-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 6, 5, 0.45) 0%, rgba(8, 6, 5, 0) 35%);
    pointer-events: none;
}

.team-photo:hover,
.team-photo:focus-visible {
    border-color: var(--line-strong);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.team-photo:hover img,
.team-photo:focus-visible img {
    transform: scale(1.05);
}

.team-photo__zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(11, 9, 8, 0.65);
    color: var(--gold-soft);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.3s, transform 0.3s var(--ease);
}

.team-photo__zoom .icon {
    width: 15px;
    height: 15px;
}

.team-photo:hover .team-photo__zoom,
.team-photo:focus-visible .team-photo__zoom {
    opacity: 1;
    transform: none;
}

@media (hover: none) {
    .team-photo__zoom {
        opacity: 0.9;
        transform: none;
    }
}

.story-index {
    display: block;
    font-family: var(--font-serif);
    font-size: 3.4rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--gold);
    opacity: 0.85;
}

.story-who {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.story-who::before {
    content: '';
    width: 26px;
    height: 1px;
    background: var(--gold);
}

/* 01: foto grande + painel de texto */
.story-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.story-photo--duo {
    min-height: 420px;
}

.story-photo--duo img {
    position: absolute;
    inset: 0;
    object-position: 50% 30%;
}

.story-panel {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2.6rem 2.4rem;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--bg-3);
}

.story-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(160deg, rgba(16, 13, 11, 0.8), rgba(16, 13, 11, 0.94)),
        url('img/seguros/outros-ramos.jpg') center / cover;
}

.story-panel .eyebrow {
    margin-top: 1.4rem;
}

.story-panel h4 {
    margin: 0.7rem 0 1rem;
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 400;
    line-height: 1.2;
}

.story-panel p {
    margin-bottom: 1.6rem;
    font-weight: 300;
    color: var(--muted);
}

/* 02 a 04: cartões com foto + texto */
.story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.story-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-2);
    transition: border-color 0.3s, transform 0.4s var(--ease);
}

.story-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-4px);
}

.story-card .story-photo {
    aspect-ratio: 10 / 11;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
}

.story-photo--diele img {
    object-position: 50% 22%;
}

.story-photo--wj1 img {
    object-position: 50% 16%;
}

.story-photo--wj2 img {
    object-position: 50% 42%;
}

.story-body {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1.6rem 1.6rem;
}

.story-body .story-index {
    margin-top: -1.9rem;
    position: relative;
    z-index: 1;
    padding-right: 0.5rem;
    background: var(--bg-2);
    border-radius: 0 10px 0 0;
}

.story-body h4 {
    margin: 0.9rem 0 0.6rem;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.25;
}

.story-body p {
    flex: 1;
    margin-bottom: 1.3rem;
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--muted);
}

@media (max-width: 900px) {
    .team {
        margin-top: 5rem;
    }

    .story-feature {
        grid-template-columns: 1fr;
    }

    .story-photo--duo {
        min-height: 0;
        aspect-ratio: 3 / 2;
    }

    .story-panel {
        padding: 2rem 1.8rem;
    }

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

    .story-card {
        display: grid;
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    }

    .story-card .story-photo {
        aspect-ratio: auto;
        min-height: 280px;
        border-bottom: 0;
        border-right: 1px solid var(--line);
    }

    .story-card .story-photo img {
        position: absolute;
        inset: 0;
    }

    .story-body {
        justify-content: center;
        padding: 1.6rem;
    }

    .story-body .story-index {
        margin-top: 0;
        padding: 0;
        background: none;
    }
}

@media (max-width: 560px) {
    .story-card {
        display: flex;
    }

    .story-card .story-photo {
        aspect-ratio: 4 / 3;
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .story-body {
        padding: 0 1.3rem 1.4rem;
    }

    .story-body .story-index {
        margin-top: -1.7rem;
        padding-right: 0.5rem;
        background: var(--bg-2);
    }

    .story-index {
        font-size: 2.9rem;
    }

    .story-panel {
        padding: 1.8rem 1.4rem;
    }
}

/* Foto ampliada (lightbox) */
html:has(.lightbox[open]) {
    overflow: hidden;
}

.lightbox {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
}

.lightbox[open] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
}

.lightbox::backdrop {
    background: rgba(6, 5, 4, 0.92);
    backdrop-filter: blur(4px);
}

.lightbox__figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 4.5rem 0 2rem;
}

.lightbox__img {
    max-width: min(100%, 1100px);
    max-height: calc(100dvh - 9.5rem);
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: lightbox-in 0.35s var(--ease);
}

.lightbox__caption {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
}

@keyframes lightbox-in {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
}

.lightbox__btn {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 1.5rem;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(16, 13, 11, 0.85);
    color: var(--gold-soft);
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.lightbox__btn:hover,
.lightbox__btn:focus-visible {
    background: var(--gold);
    color: var(--bg);
}

.lightbox__btn .icon {
    width: 20px;
    height: 20px;
}

.lightbox__prev .icon {
    transform: rotate(180deg);
}

.lightbox__close {
    position: fixed;
    top: 1.2rem;
    right: 1.2rem;
    margin: 0;
}

@media (max-width: 600px) {
    .lightbox[open] {
        grid-template-columns: minmax(0, 1fr);
    }

    .lightbox__figure {
        padding: 4.5rem 12px 6rem;
    }

    .lightbox__img {
        max-height: calc(100dvh - 13rem);
    }

    .lightbox__prev,
    .lightbox__next {
        position: fixed;
        bottom: 1.4rem;
        margin: 0;
    }

    .lightbox__prev {
        left: calc(50% - 60px);
    }

    .lightbox__next {
        right: calc(50% - 60px);
    }
}

/* --------------------------------------------------------------------------
   DÚVIDAS (Central de Ajuda)
   -------------------------------------------------------------------------- */

.page.faq-section {
    --waves-img: url('img/duvidas-bg.jpg');
    padding: calc(var(--nav-h) + 36px) 0 96px;
}

.faq-hero {
    position: relative;
    max-width: 680px;
}

/* Sombra suave atrás do texto para as ondas do fundo não atrapalharem a leitura */
.faq-hero::before {
    content: '';
    position: absolute;
    inset: -40px -80px -40px -120px;
    z-index: -1;
    background: radial-gradient(closest-side, rgba(4, 3, 2, 0.78), rgba(4, 3, 2, 0));
    pointer-events: none;
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.1rem 0.45rem 0.5rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(12, 10, 8, 0.6);
    font-size: 0.85rem;
    color: var(--gold-soft);
}

.faq-badge__dot {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(180deg, #f0d29b, #c9a46a);
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a130b;
}

.faq-hero h2 {
    margin: 1.1rem 0 1rem;
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 6.2vw, 4.6rem);
    font-weight: 500;
    line-height: 1.05;
}

.faq-hero h2 em {
    background: linear-gradient(180deg, #f6d9a2 10%, #d6a256 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.faq-hero p {
    max-width: 590px;
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(244, 239, 232, 0.82);
}

.faq-search {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    max-width: 900px;
    margin: 2.6rem auto 0;
    padding: 0.4rem 0.4rem 0.4rem 1.4rem;
    border: 1px solid rgba(244, 239, 232, 0.22);
    border-radius: 999px;
    background: rgba(10, 8, 7, 0.78);
    backdrop-filter: blur(8px);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-search:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 164, 106, 0.12);
}

.faq-search__icon {
    width: 22px;
    height: 22px;
    color: var(--gold-soft);
}

.faq-search input {
    flex: 1;
    min-width: 0;
    padding: 0.7rem 0;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 0.95rem;
    color: var(--text);
}

.faq-search input::placeholder {
    color: rgba(244, 239, 232, 0.5);
}

.faq-search input::-webkit-search-cancel-button {
    filter: sepia(1) saturate(3) hue-rotate(-10deg);
}

.faq-search__btn {
    padding: 0.8rem 1.6rem;
}

.faq-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin: 1.4rem 0 1.8rem;
}

.faq-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.25rem;
    border: 1px solid rgba(244, 239, 232, 0.26);
    border-radius: 999px;
    background: rgba(10, 8, 7, 0.65);
    font: inherit;
    font-size: 0.85rem;
    color: var(--text);
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s, color 0.3s;
}

.faq-chip .icon {
    width: 18px;
    height: 18px;
}

.faq-chip:hover {
    border-color: var(--gold-soft);
}

.faq-chip[aria-pressed='true'] {
    border-color: transparent;
    background: linear-gradient(180deg, #f0d29b, #c9a46a);
    color: #1a130b;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(244, 239, 232, 0.14);
    border-radius: 12px;
    background: rgba(10, 8, 7, 0.82);
    transition: border-color 0.3s, background 0.3s;
}

.faq-item:hover {
    border-color: var(--line-strong);
}

.faq-item[open] {
    border-color: var(--line-strong);
    background: rgba(16, 13, 11, 0.92);
}

.faq-item summary {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    padding: 0.55rem 1.5rem 0.55rem 0.65rem;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(201, 164, 106, 0.07);
    color: var(--gold);
}

.faq-icon .icon {
    width: 20px;
    height: 20px;
}

.faq-q {
    flex: 1;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    line-height: 1.3;
}

.faq-chevron {
    width: 20px;
    height: 20px;
    color: var(--text);
    transition: transform 0.3s var(--ease), color 0.3s;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    color: var(--gold);
}

.faq-item p {
    padding: 0.2rem 1.5rem 1.3rem calc(0.65rem + 44px + 1.3rem);
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--muted);
}

.faq-item p a,
.faq-empty a {
    color: var(--gold-soft);
}

.faq-empty {
    padding: 1.6rem 1rem;
    border: 1px dashed var(--line);
    border-radius: 12px;
    text-align: center;
    color: var(--muted);
}

.faq-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 1060px;
    margin: 2.6rem auto 0;
    padding: 1.5rem 1.6rem 1.5rem 2.4rem;
    border: 1.5px solid rgba(214, 170, 98, 0.75);
    border-radius: 18px;
    background: rgba(10, 8, 7, 0.78);
    box-shadow: 0 0 34px rgba(201, 164, 106, 0.14), inset 0 0 26px rgba(201, 164, 106, 0.06);
}

.faq-cta__icon {
    width: 56px;
    height: 56px;
    stroke-width: 1.3;
    color: var(--gold);
}

.faq-cta__text {
    flex: 1;
    padding-left: 1.4rem;
    border-left: 1px solid var(--line);
}

.faq-cta__text strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 600;
}

.faq-cta__text span {
    color: rgba(244, 239, 232, 0.8);
}

@media (max-width: 760px) {
    .faq-search {
        padding-left: 1.1rem;
    }

    .faq-search__btn {
        padding: 0.8rem 1.1rem;
    }

    .faq-filters {
        flex-wrap: nowrap;
        justify-content: flex-start;
        margin-right: -24px;
        margin-left: -24px;
        padding: 0 24px 4px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .faq-filters::-webkit-scrollbar {
        display: none;
    }

    .faq-cta {
        flex-direction: column;
        padding: 1.8rem 1.4rem;
        text-align: center;
    }

    .faq-cta__text {
        padding-left: 0;
        border-left: 0;
    }

    .faq-cta .btn {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .page.faq-section {
        padding-top: calc(var(--nav-h) + 150px);
    }

    /* No celular a imagem fica maior e deslocada, para o balão "?" aparecer acima do título */
    .faq-section::before {
        top: 46px;
        left: -112%;
        width: 230%;
    }

    .faq-section::after {
        left: auto;
        right: 0;
        width: 200%;
    }

    .faq-hero p {
        font-size: 0.95rem;
    }

    .faq-search__btn {
        width: 46px;
        height: 46px;
        padding: 0;
        font-size: 0;
        gap: 0;
    }

    .faq-search__btn .icon {
        width: 18px;
        height: 18px;
    }

    .faq-item summary {
        gap: 0.9rem;
        padding: 0.5rem 1rem 0.5rem 0.55rem;
    }

    .faq-icon {
        width: 38px;
        height: 38px;
    }

    .faq-q {
        font-size: 1.02rem;
    }

    .faq-item p {
        padding: 0.2rem 1.1rem 1.2rem;
    }
}

/* --------------------------------------------------------------------------
   CONTATO
   -------------------------------------------------------------------------- */

.page.contato-section {
    --waves-img: url('img/contato-bg.jpg');
    padding: calc(var(--nav-h) + 40px) 0 96px;
}

.contato-section .container {
    max-width: 1400px;
}

.ct-hero {
    position: relative;
    max-width: 640px;
}

.ct-hero::before {
    content: '';
    position: absolute;
    inset: -40px -90px -40px -120px;
    z-index: -1;
    background: radial-gradient(closest-side, rgba(3, 1, 0, 0.8), rgba(3, 1, 0, 0));
    pointer-events: none;
}

.ct-hero h2 {
    margin: 0.9rem 0 0.9rem;
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    font-weight: 400;
    line-height: 1.05;
}

.ct-hero h2 em,
.ct-panel h3 em {
    background: linear-gradient(180deg, #f6d9a2 10%, #d6a256 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: normal;
}

.ct-hero p {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(244, 239, 232, 0.82);
}

.ct-rule {
    display: block;
    width: 64px;
    height: 2px;
    margin-top: 1.2rem;
    background: linear-gradient(90deg, var(--gold-soft), rgba(201, 164, 106, 0));
}

.ct-cards {
    display: grid;
    grid-template-columns: 1fr 0.9fr 1.4fr 1.25fr;
    gap: 1.25rem;
    margin: 2.6rem 0 3rem;
}

.ct-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    padding: 1.3rem 1rem 1.3rem 1.2rem;
    border: 1px solid rgba(214, 170, 98, 0.35);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(32, 23, 14, 0.88), rgba(12, 9, 7, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 220, 160, 0.06), 0 12px 30px rgba(0, 0, 0, 0.4);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}

.ct-card:hover,
.ct-card:focus-visible {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: inset 0 1px 0 rgba(255, 220, 160, 0.08), 0 0 28px rgba(201, 164, 106, 0.18);
}

.ct-card__icon {
    width: 40px;
    height: 40px;
    stroke-width: 1.35;
    color: var(--gold);
}

.ct-card__text {
    flex: 1;
    min-width: 0;
}

.ct-card__text strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 500;
}

.ct-card__text span {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.78rem;
    color: rgba(244, 239, 232, 0.78);
    overflow-wrap: anywhere;
}

.ct-card__arrow {
    display: grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(244, 239, 232, 0.5);
    border-radius: 50%;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.ct-card__arrow .icon {
    width: 16px;
    height: 16px;
}

.ct-card:hover .ct-card__arrow {
    border-color: var(--gold);
    background: var(--gold);
    color: #1a130b;
}

/* Painel: formulário à esquerda, contato direto à direita */
.ct-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    overflow: hidden;
    padding: 2rem 2.4rem 2.4rem;
    border: 1.5px solid rgba(214, 170, 98, 0.6);
    border-radius: 22px;
    background: rgba(8, 6, 5, 0.84);
    backdrop-filter: blur(6px);
    box-shadow: 0 0 40px rgba(201, 164, 106, 0.08);
}

/* Globo pontilhado discreto no canto, como na referência */
.ct-panel::after {
    content: '';
    position: absolute;
    right: -140px;
    bottom: -160px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214, 170, 98, 0.45) 1px, transparent 1.6px) 0 0 / 9px 9px;
    -webkit-mask-image: radial-gradient(circle at 35% 35%, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 70%);
    mask-image: radial-gradient(circle at 35% 35%, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 70%);
    pointer-events: none;
}

.ct-form {
    padding-right: 2.6rem;
    border-right: 1px solid var(--line);
}

.ct-form .ct-rule {
    margin: 0 0 1rem;
}

.ct-panel h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    font-weight: 400;
    line-height: 1.2;
}

.ct-sub {
    margin: 0.35rem 0 1.6rem;
    font-size: 0.95rem;
    color: rgba(244, 239, 232, 0.78);
}

.formulario {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.ct-field {
    position: relative;
    display: block;
}

.ct-field > .icon {
    position: absolute;
    top: 50%;
    left: 16px;
    width: 20px;
    height: 20px;
    color: var(--gold-soft);
    transform: translateY(-50%);
    pointer-events: none;
}

.ct-field--area > .icon {
    top: 16px;
    transform: none;
}

.formulario input,
.formulario textarea {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 3rem;
    border: 1px solid rgba(244, 239, 232, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--text);
    font-family: inherit;
    font-size: 0.92rem;
    transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.formulario input::placeholder,
.formulario textarea::placeholder {
    color: rgba(244, 239, 232, 0.55);
}

.formulario input:focus,
.formulario textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 0 3px rgba(201, 164, 106, 0.12);
}

.formulario textarea {
    height: 120px;
    resize: vertical;
}

.ct-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem 1.4rem;
    margin-top: 0.6rem;
}

.btn-enviar {
    padding: 0.95rem 1.3rem 0.95rem 1.5rem;
    font-size: 0.95rem;
}

.btn-enviar__chevron {
    margin-left: 0.9rem;
    opacity: 0.7;
}

.formulario-nota {
    flex: 1;
    min-width: 200px;
    font-size: 0.78rem;
    color: var(--muted);
}

.formulario-status[hidden] {
    display: none;
}

.formulario-status {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--gold-soft);
    background: rgba(201, 164, 106, 0.08);
}

.ct-direct {
    position: relative;
    z-index: 1;
    padding: 3.2rem 0 1rem 3.2rem;
}

.ct-direct h3 {
    font-family: var(--font-sans);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.3;
}

.ct-direct h3 em {
    display: block;
}

.ct-direct p {
    margin-top: 0.8rem;
    font-size: 0.95rem;
    color: rgba(244, 239, 232, 0.78);
}

.ct-direct .ct-rule {
    margin: 1.6rem 0 1.6rem;
}

.ct-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ct-list li {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
    font-size: 0.95rem;
}

.ct-list .icon {
    width: 22px;
    height: 22px;
    color: var(--gold);
}

.ct-list a {
    color: var(--text);
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.3s;
}

.ct-list a:hover {
    color: var(--gold-soft);
}

@media (max-width: 1100px) {
    .ct-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ct-panel {
        grid-template-columns: 1fr;
    }

    .ct-form {
        padding-right: 0;
        border-right: 0;
    }

    .ct-direct {
        margin-top: 2.2rem;
        padding: 2rem 0 0;
        border-top: 1px solid var(--line);
    }

    .ct-panel::after {
        opacity: 0.35;
    }
}

@media (max-width: 600px) {
    .page.contato-section {
        padding: calc(var(--nav-h) + 160px) 0 72px;
    }

    /* No celular a imagem fica maior e deslocada, para o headset aparecer acima do título */
    .contato-section::before {
        top: 30px;
        left: -78%;
        width: 185%;
    }

    .contato-section::after {
        left: auto;
        right: 0;
        width: 200%;
    }

    .ct-hero p {
        font-size: 1rem;
    }

    .ct-cards {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin: 2rem 0 2.2rem;
    }

    .ct-card {
        padding: 1.1rem 1rem 1.1rem 1.2rem;
    }

    .ct-card__icon {
        width: 38px;
        height: 38px;
    }

    .ct-card__text span {
        font-size: 0.76rem;
    }

    .ct-panel {
        padding: 1.8rem 1.2rem;
    }

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

    .btn-enviar {
        width: 100%;
    }

    .ct-direct h3 {
        font-size: 1.4rem;
    }

    .ct-panel::after {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Rodapé e link social flutuante
   -------------------------------------------------------------------------- */

.footer {
    padding: 2.2rem 0;
    border-top: 1px solid var(--line);
    background: #070605;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.footer-logo {
    margin-bottom: 0.6rem;
}

.footer p {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.social-links {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 100;
}

.social-links a {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(11, 9, 8, 0.85);
    backdrop-filter: blur(8px);
    color: var(--gold-soft);
    transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}

.social-links a:hover {
    background: var(--gold);
    color: #1a130b;
    transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
    .home-why__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-items: start;
    }
}

@media (max-width: 900px) {
    :root {
        --nav-h: 72px;
    }

    .logo-mark {
        font-size: 2.3rem;
    }

    .logo-word strong {
        font-size: 1rem;
    }

    .logo-word small {
        font-size: 0.5rem;
    }

    .mobile-menu-button {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-left: 0;
        padding: 0.5rem 24px 1.2rem;
        background: rgba(11, 9, 8, 0.97);
        border-bottom: 1px solid var(--line);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-links a {
        padding: 1rem 0;
        font-size: 0.9rem;
        border-bottom: 1px solid var(--line);
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        margin: 0;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-links .nav-cta {
        justify-content: center;
        margin-top: 1rem;
        border-bottom: 1px solid var(--line-strong);
    }

    /* Hero empilhado: foto no topo (sob o menu), texto abaixo */
    .hero {
        display: block;
        min-height: 0;
        padding-top: 0;
    }

    .hero-media {
        position: relative;
        inset: auto;
        width: 100%;
        aspect-ratio: 1060 / 950;
        max-height: 560px;
    }

    .hero-media img {
        position: static;
        left: auto;
        -webkit-mask-image: none;
        mask-image: none;
        object-position: 62% 30%;
    }

    .hero-media::after {
        background:
            linear-gradient(0deg, var(--bg) 0%, rgba(11, 9, 8, 0) 45%),
            linear-gradient(180deg, rgba(11, 9, 8, 0.7) 0%, rgba(11, 9, 8, 0) 26%);
    }

    .hero-inner {
        margin-top: -70px;
    }

    .hero-copy {
        max-width: 620px;
        padding: 0 0 3.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .stats {
        flex-wrap: wrap;
        row-gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .about-section,
    .faq-section {
        padding: calc(var(--nav-h) + 40px) 0 64px;
    }

    .home-seguros {
        padding: 64px 0;
    }

    .home-why {
        padding: 64px 0 96px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .stats {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats li,
    .stats li:first-child {
        max-width: none;
        padding: 0;
    }

    .stats li + li {
        border-left: 0;
    }

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

@media (max-width: 600px) {
    .hero-media {
        aspect-ratio: 1 / 1.05;
        max-height: none;
    }

    .hero-media img {
        object-position: 66% 30%;
    }
}

@media (max-width: 600px) {
    .social-links {
        right: 1rem;
        bottom: 1rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 400px) {
    .hero-actions .btn {
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 0.82rem;
    }
}

/* Celular deitado: foto de fundo com o texto por cima (o empilhado esconderia o texto) */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
    .hero {
        display: flex;
        align-items: center;
        min-height: 520px;
        padding-top: var(--nav-h);
    }

    .hero-media {
        position: absolute;
        inset: 0;
        width: auto;
        aspect-ratio: auto;
        max-height: none;
    }

    .hero-media img {
        position: absolute;
        left: 8%;
        object-position: 62% 38%;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%);
        mask-image: linear-gradient(90deg, transparent 0, #000 14%);
    }

    .hero-media::after {
        background:
            linear-gradient(90deg, rgba(11, 9, 8, 0.9) 0%, rgba(11, 9, 8, 0.65) 40%, rgba(11, 9, 8, 0.1) 65%, rgba(11, 9, 8, 0) 75%),
            linear-gradient(0deg, var(--bg-2) 0%, rgba(16, 13, 11, 0) 22%),
            linear-gradient(180deg, rgba(11, 9, 8, 0.55) 0%, rgba(11, 9, 8, 0) 24%);
    }

    .hero-inner {
        margin-top: 0;
    }

    .hero-copy {
        max-width: 400px;
        padding: 1.5rem 0 2rem;
    }

    .hero-copy h1 {
        margin: 0.8rem 0 1rem;
        font-size: 2.1rem;
    }

    .hero-copy p {
        margin-bottom: 1.4rem;
        font-size: 0.9rem;
    }

    .hero-actions .btn {
        width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
