@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --seg-primary: #0c1220;
    --seg-secondary: #1a2436;
    --seg-gold: #B8860B;
    --seg-gold-light: #F3E5AB;
    --seg-text: #f5f5f7;
    --seg-text-dim: #a0aec0;
    --seg-text-dark: #0c1220;
    --seg-radius: 12px;
    --seg-radius-lg: 16px;
    --seg-shadow: 0 12px 40px rgba(12, 18, 32, 0.15);
    --seg-header-h: 80px;
    --seg-font-heading: 'Outfit', sans-serif;
    --seg-font-serif: 'Cinzel', serif;
    --seg-font-body: 'Inter', sans-serif;
    --seg-transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

body.page-seguros a {
    color: inherit;
    text-decoration: none;
    transition: color var(--seg-transition), opacity var(--seg-transition);
}

body.page-seguros ul {
    list-style: none;
}

body.page-seguros img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.seg-section {
    padding: 5rem 0;
    scroll-margin-top: var(--seg-header-h);
}

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

.seg-section--light {
    background: #ffffff;
    color: var(--seg-text-dark);
}

.seg-section--light .seg-section__title {
    color: var(--seg-text-dark);
}

.seg-section--light .seg-section__intro {
    color: #5a6578;
}

.seg-section--contact {
    background: linear-gradient(180deg, var(--seg-primary) 0%, #0a0f1a 100%);
}

.seg-section__title {
    font-family: var(--seg-font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 300;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.seg-section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--seg-gold);
    margin: 1rem auto 0;
}

.seg-section__intro {
    text-align: center;
    color: var(--seg-text-dim);
    max-width: 720px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
}

/* Buttons */
.seg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    font-family: var(--seg-font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform var(--seg-transition), background var(--seg-transition), border-color var(--seg-transition), color var(--seg-transition);
}

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

.seg-btn--primary {
    background: linear-gradient(135deg, var(--seg-gold), #9a7209);
    color: #fff;
    border-color: var(--seg-gold);
}

.seg-btn--primary:hover {
    background: linear-gradient(135deg, #d4a017, var(--seg-gold));
}

.seg-btn--secondary {
    background: transparent;
    color: var(--seg-text);
    border-color: rgba(255, 255, 255, 0.25);
}

.seg-btn--secondary:hover {
    border-color: var(--seg-gold);
    color: var(--seg-gold-light);
}

.seg-btn--whatsapp {
    background: #25d366;
    color: #fff;
    margin-top: 1rem;
    width: 100%;
}

.seg-btn--whatsapp:hover {
    background: #1ebe57;
}

.seg-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--seg-gold);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
}

.seg-link-arrow:hover {
    color: var(--seg-gold-light);
}

/* Header */
.seg-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(12, 18, 32, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    height: var(--seg-header-h);
}

.seg-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
}

.seg-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.seg-brand__logo {
    height: 36px;
    width: auto;
}

.seg-brand__label {
    font-family: var(--seg-font-serif);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--seg-gold);
    padding-left: 0.75rem;
    border-left: 1px solid rgba(184, 134, 11, 0.4);
}

.seg-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    padding: 10px;
}

.seg-nav-toggle span {
    display: block;
    height: 2px;
    background: var(--seg-text);
    border-radius: 2px;
    transition: var(--seg-transition);
}

.seg-nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.seg-nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.seg-nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.seg-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.seg-nav a {
    font-size: 0.9rem;
    color: var(--seg-text-dim);
    white-space: nowrap;
}

.seg-nav a:hover,
.seg-nav a:focus-visible {
    color: var(--seg-gold-light);
}

.seg-nav__external {
    font-size: 0.85rem !important;
    opacity: 0.85;
}

.seg-nav__cta {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
}

/* Hero */
.seg-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--seg-header-h) + 3rem) 0 4rem;
    background:
        linear-gradient(135deg, rgba(12, 18, 32, 0.88) 0%, rgba(12, 18, 32, 0.65) 50%, rgba(26, 36, 54, 0.75) 100%),
        url('./images/og-seguros.jpeg') center / cover no-repeat;
}

.seg-hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(184, 134, 11, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.seg-hero__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.seg-hero__eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--seg-gold);
    margin-bottom: 1rem;
}

.seg-hero h1 {
    font-family: var(--seg-font-heading);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.seg-hero__lead {
    font-size: 1.15rem;
    color: var(--seg-text-dim);
    margin-bottom: 2rem;
    max-width: 560px;
}

.seg-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Pillars */
.seg-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.seg-pillar {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--seg-radius-lg);
    padding: 1.75rem;
    transition: border-color var(--seg-transition), transform var(--seg-transition);
}

.seg-pillar:hover {
    border-color: rgba(184, 134, 11, 0.35);
    transform: translateY(-4px);
}

.seg-pillar__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 134, 11, 0.12);
    border-radius: 10px;
    color: var(--seg-gold);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.seg-pillar h3 {
    font-family: var(--seg-font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.seg-pillar p {
    font-size: 0.9rem;
    color: var(--seg-text-dim);
}

/* Servicos — banners */
.seg-servicos-banners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.seg-servico-banner {
    display: block;
    border-radius: var(--seg-radius-lg);
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 8px 28px rgba(12, 18, 32, 0.12);
    transition: box-shadow var(--seg-transition);
}

.seg-servico-banner:hover,
.seg-servico-banner:focus-visible {
    box-shadow: 0 12px 36px rgba(12, 18, 32, 0.18);
}

.seg-servico-banner img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: block;
    object-fit: cover;
    object-position: center top;
    transition: opacity 0.35s ease;
}

.seg-servico-banner:hover img,
.seg-servico-banner:focus-visible img {
    opacity: 0.55;
}

/* Grid features */
.seg-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.seg-feature,
.seg-massificado {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--seg-radius);
    padding: 1.75rem;
    transition: border-color var(--seg-transition);
}

.seg-feature:hover,
.seg-massificado:hover {
    border-color: rgba(184, 134, 11, 0.3);
}

.seg-feature h3,
.seg-massificado h3 {
    font-family: var(--seg-font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--seg-gold-light);
}

.seg-feature p,
.seg-massificado p {
    font-size: 0.95rem;
    color: var(--seg-text-dim);
}

.seg-grid-2--cards .seg-massificado {
    background: var(--seg-secondary);
}

.seg-checklist {
    margin-top: 1rem;
}

.seg-checklist li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    color: var(--seg-text-dim);
    margin-bottom: 0.4rem;
}

.seg-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--seg-gold);
    font-weight: 700;
}

/* Contact */
.seg-contato {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: start;
}

.seg-info-item {
    margin-bottom: 1.5rem;
}

.seg-info-item h3 {
    font-family: var(--seg-font-heading);
    font-size: 1rem;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--seg-gold);
}

.seg-info-item h3 i {
    width: 1.25rem;
}

.seg-info-item p,
.seg-info-item a {
    color: var(--seg-text-dim);
    font-size: 0.95rem;
}

.seg-info-item a:hover {
    color: var(--seg-gold-light);
}

.seg-form-box {
    background: var(--seg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--seg-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--seg-shadow);
}

.seg-form-box--rd-station {
    overflow: visible;
    min-height: 200px;
}

.seg-form-box--rd-station #seguros-e8689901ce5651fedb1f {
    min-height: 120px;
}

.seg-form-placeholder {
    text-align: center;
    color: var(--seg-text-dim);
    padding: 2rem 1rem;
    font-size: 0.95rem;
}

/* Footer */
.seg-footer {
    background: #080c14;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3rem 0 1.5rem;
}

.seg-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.seg-footer__brand h3 {
    font-family: var(--seg-font-serif);
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.seg-footer__brand p {
    color: var(--seg-text-dim);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.seg-footer__parent-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--seg-gold);
}

.seg-footer__parent-link:hover {
    color: var(--seg-gold-light);
}

.seg-footer__links h4 {
    font-family: var(--seg-font-heading);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--seg-gold-light);
}

.seg-footer__links li {
    margin-bottom: 0.5rem;
}

.seg-footer__links a {
    font-size: 0.9rem;
    color: var(--seg-text-dim);
}

.seg-footer__links a:hover {
    color: var(--seg-text);
}

.seg-footer__bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.seg-footer__bottom p {
    font-size: 0.8rem;
    color: var(--seg-text-dim);
}

/* Mobile */
@media (max-width: 1024px) {
    .seg-pillars {
        grid-template-columns: repeat(2, 1fr);
    }

    .seg-servicos-banners {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .seg-nav-toggle {
        display: flex;
    }

    .seg-nav {
        position: fixed;
        top: var(--seg-header-h);
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(12, 18, 32, 0.98);
        padding: 1.5rem;
        transform: translateX(100%);
        transition: transform var(--seg-transition);
        overflow-y: auto;
    }

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

    .seg-nav a {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        white-space: normal;
    }

    .seg-nav__cta {
        margin-top: 1rem;
        text-align: center;
    }

    .seg-grid-2,
    .seg-contato,
    .seg-footer__grid {
        grid-template-columns: 1fr;
    }

    .seg-pillars {
        grid-template-columns: 1fr;
    }

    .seg-hero__actions {
        flex-direction: column;
    }

    .seg-hero__actions .seg-btn {
        width: 100%;
    }
}

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

    .seg-btn:hover,
    .seg-pillar:hover,
    .seg-servico-card:hover {
        transform: none;
    }
}
