/* =========================================================
   JCS SEGUROS — ATUALIZAÇÃO VISUAL PREMIUM
   Cole este arquivo DEPOIS do style.css original.
   Não altera HTML, PHP, formulários ou funcionalidades.
========================================================= */

:root {
    --jcs-green: #07513b;
    --jcs-green-dark: #032f24;
    --jcs-green-deep: #021f19;
    --jcs-gold: #d6ad52;
    --jcs-gold-light: #f0d58a;
    --jcs-ink: #14251f;
    --jcs-muted: #68766f;
    --jcs-paper: #fbfaf6;
    --jcs-line: rgba(7, 81, 59, .12);
    --jcs-shadow: 0 22px 60px rgba(4, 38, 28, .09);
}

/* Base */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    color: var(--jcs-ink);
    background: var(--jcs-paper);
    font-family: "Poppins", sans-serif;
}

::selection {
    color: #fff;
    background: var(--jcs-green);
}

.container {
    width: min(1180px, calc(100% - 48px));
}

/* Cabeçalho */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(251, 250, 246, .94);
    border-bottom: 1px solid rgba(7, 81, 59, .10);
    box-shadow: 0 8px 28px rgba(4, 38, 28, .045);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-content {
    min-height: 82px;
    gap: 22px;
}

.logo-img {
    display: block;
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(13px, 1.6vw, 25px);
}

.main-nav a {
    color: #35463e;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

.main-nav a:hover {
    color: var(--jcs-green);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-cta,
.corretor-area-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 17px;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.header-cta {
    color: #fff;
    background: linear-gradient(135deg, var(--jcs-green), var(--jcs-green-dark));
    box-shadow: 0 9px 22px rgba(7, 81, 59, .17);
}

.header-cta i {
    color: var(--jcs-gold-light);
}

.corretor-area-button {
    color: var(--jcs-green-dark);
    background: #fff;
    border: 1px solid var(--jcs-line);
}

.header-cta:hover,
.corretor-area-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(4, 38, 28, .13);
}

.mobile-menu-button {
    color: var(--jcs-green-dark);
    border: 1px solid var(--jcs-line);
    background: #fff;
    border-radius: 12px;
}

/* Hero */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(86px, 9vw, 132px) 0 clamp(84px, 8vw, 118px);
    background:
        radial-gradient(circle at 88% 18%, rgba(214, 173, 82, .17), transparent 25%),
        radial-gradient(circle at 8% 90%, rgba(28, 130, 91, .25), transparent 28%),
        linear-gradient(118deg, #03281f 0%, #064632 54%, #07553d 100%);
}

.hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 560px;
    height: 560px;
    right: -210px;
    top: -280px;
    border: 1px solid rgba(240, 213, 138, .18);
    border-radius: 50%;
    box-shadow:
        0 0 0 42px rgba(240, 213, 138, .025),
        0 0 0 92px rgba(240, 213, 138, .02);
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240, 213, 138, .4), transparent);
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    align-items: center;
    gap: clamp(42px, 6vw, 88px);
}

.hero-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 27px;
    padding: 10px 16px;
    border: 1px solid rgba(240, 213, 138, .28);
    border-radius: 999px;
    color: #f7f2e4;
    background: rgba(255, 255, 255, .075);
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.hero-badge-stars,
.hero-rating {
    color: var(--jcs-gold-light);
    letter-spacing: 2px;
}

.hero h1 {
    max-width: 720px;
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.055em;
}

.hero h1 span {
    display: inline;
    color: var(--jcs-gold-light);
}

.hero-description {
    max-width: 650px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .76);
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.85;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 13px 22px;
    margin-top: 30px;
}

.hero-trust > div {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .82);
    font-size: 11px;
    font-weight: 600;
}

.hero-trust i {
    color: var(--jcs-gold-light);
}

.hero-visual {
    width: 100%;
    max-width: 510px;
    justify-self: end;
}

.hero-card-main {
    padding: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 28px;
    background: linear-gradient(145deg, #fff 0%, #f6f5ef 100%);
    box-shadow: 0 35px 90px rgba(0, 0, 0, .23);
    transform: translateY(0);
    transition: transform .35s ease, box-shadow .35s ease;
}

.hero-card-main:hover {
    transform: translateY(-6px);
    box-shadow: 0 42px 100px rgba(0, 0, 0, .28);
}

.hero-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.hero-card-label {
    color: #7a8981;
    font-size: 11px;
}

.hero-card-top > strong {
    color: #15251f;
    font-size: 34px;
    font-weight: 800;
}

.hero-card-main .family {
    display: block;
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 18px;
    background: #f0f1eb;
}

.hero-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 20px 4px 2px;
    color: #17251f;
    font-size: 13px;
}

.hero-card-bottom > i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    border-radius: 13px;
    color: #947126;
    background: #f5efd9;
}

/* Títulos de seção */
.section-header {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-header > span {
    display: inline-block;
    margin-bottom: 13px;
    color: #9b792d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .17em;
}

.section-header h2 {
    margin: 0 0 14px;
    color: #12372b;
    font-size: clamp(29px, 3.2vw, 43px);
    font-weight: 750;
    line-height: 1.17;
    letter-spacing: -.04em;
}

.section-header p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--jcs-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* Seções e cartões */
.operators,
.benefits,
.testimonials,
.how-it-works {
    padding: clamp(72px, 8vw, 112px) 0;
}

.operators,
.testimonials {
    background: #fff;
}

.how-it-works,
.benefits {
    background: #f5f7f3;
}

.operator-card,
.how-card,
.benefit-card,
.testimonial-card,
.about-card {
    border: 1px solid rgba(7, 81, 59, .10);
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(4, 38, 28, .055);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.operator-card:hover,
.how-card:hover,
.benefit-card:hover,
.testimonial-card:hover,
.about-card:hover {
    transform: translateY(-5px);
    border-color: rgba(214, 173, 82, .38);
    box-shadow: 0 20px 45px rgba(4, 38, 28, .10);
}

.operators-grid {
    gap: 18px;
    margin-top: 42px;
}

.operator-card {
    min-height: 145px;
    padding: 22px;
}

.operator-card img {
    max-width: 100%;
    object-fit: contain;
}

.operator-card span {
    color: var(--jcs-green);
    font-weight: 700;
}

.how-grid,
.benefits-grid,
.testimonials-grid {
    gap: 20px;
}

.how-card,
.benefit-card,
.testimonial-card {
    padding: 30px;
    border-color: rgba(7, 81, 59, .10);
    text-align: left;
}

.how-number {
    color: #b38a32;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.how-icon,
.benefit-card > i {
    color: var(--jcs-green);
}

.how-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin: 18px 0;
    border-radius: 16px;
    background: rgba(7, 81, 59, .08);
    font-size: 21px;
}

.how-card h3,
.benefit-card h3,
.testimonial-card h3 {
    margin-bottom: 10px;
    color: #153d2f;
    font-size: 17px;
}

.how-card p,
.benefit-card p,
.testimonial-card p {
    color: #718078;
    font-size: 13px;
    line-height: 1.8;
}

.benefit-card > i {
    display: inline-grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 16px;
    background: rgba(7, 81, 59, .08);
    font-size: 23px;
}

.number-item strong {
    color: var(--jcs-green);
}

.numbers-box {
    border: 1px solid rgba(214, 173, 82, .22);
    border-radius: 24px;
    background: linear-gradient(130deg, #fff, #f7f8f3);
    box-shadow: var(--jcs-shadow);
}

/* Consórcio e quem somos */
.about-section {
    padding: clamp(72px, 8vw, 112px) 0;
    background: #fff;
}

.about-grid {
    align-items: center;
    gap: clamp(35px, 6vw, 80px);
}

.about-label {
    color: #a17b2b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
}

.about-content h2 {
    margin: 15px 0 18px;
    color: #12372b;
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.15;
    letter-spacing: -.04em;
}

.about-content p {
    color: #6b7972;
    font-size: 14px;
    line-height: 1.85;
}

.about-points {
    gap: 13px;
    margin: 24px 0;
}

.about-points i {
    color: #a78332;
}

.about-button,
.btn,
.home-partners-button,
.porto-campanha-link {
    border-radius: 13px;
    background: linear-gradient(135deg, var(--jcs-green), var(--jcs-green-dark));
    color: #fff;
    box-shadow: 0 10px 24px rgba(7, 81, 59, .16);
    transition: transform .2s ease, box-shadow .2s ease;
}

.about-button:hover,
.btn:hover,
.home-partners-button:hover,
.porto-campanha-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(7, 81, 59, .22);
}

/* Campanha */
.porto-campanha {
    border-color: rgba(214, 173, 82, .32);
    border-radius: 22px;
    box-shadow: var(--jcs-shadow);
}

.porto-campanha-toggle {
    background: linear-gradient(110deg, var(--jcs-green-dark), var(--jcs-green));
}

.porto-campanha-icone {
    color: #15392c;
    background: var(--jcs-gold-light);
}

/* Parcerias e rodapé */
.home-partners {
    padding: clamp(70px, 8vw, 105px) 0;
    background: #f5f7f3;
}

.home-partners-heading h2 {
    color: #12372b;
}

.home-partner-card {
    border: 1px solid rgba(7, 81, 59, .10);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(4, 38, 28, .055);
    transition: transform .25s ease, box-shadow .25s ease;
}

.home-partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--jcs-shadow);
}

footer,
.site-footer {
    background: #032f24;
    color: rgba(255, 255, 255, .78);
}

footer a,
.site-footer a {
    color: rgba(255, 255, 255, .82);
}

footer a:hover,
.site-footer a:hover {
    color: var(--jcs-gold-light);
}

/* Formulário: preservar estados e etapas */
#cotacao,
.quote-section,
.lead-form {
    background: #f4f6f1;
}

.quote-card,
.form-box {
    border: 1px solid rgba(7, 81, 59, .10);
    border-radius: 24px;
    box-shadow: 0 22px 60px rgba(4, 38, 28, .08);
}

.quote-submit,
.form-box button[type="submit"] {
    background: linear-gradient(135deg, var(--jcs-green), var(--jcs-green-dark));
}

/* WhatsApp flutuante */
.whatsapp-float,
.whatsapp-button,
.btn-whatsapp-float {
    box-shadow: 0 12px 28px rgba(37, 211, 102, .28);
}

/* Responsividade */
@media (max-width: 1100px) {
    .header-content {
        gap: 14px;
    }

    .main-nav {
        gap: 12px;
    }

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

    .header-cta,
    .corretor-area-button {
        padding: 0 12px;
        font-size: 10px;
    }
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .hero-visual {
        max-width: 560px;
        justify-self: start;
    }

    .main-nav,
    .header-actions {
        display: none;
    }

    .header-content {
        min-height: 72px;
    }

    .logo-img {
        width: 56px;
        height: 56px;
    }

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
    }

    .operators-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .benefits-grid,
    .testimonials-grid,
    .how-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 34px, 1180px);
    }

    .hero {
        padding: 66px 0 72px;
    }

    .hero h1 {
        font-size: clamp(37px, 10vw, 48px);
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-trust {
        flex-direction: column;
        gap: 10px;
    }

    .hero-card-main {
        padding: 17px;
        border-radius: 21px;
    }

    .operators-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .operator-card {
        min-height: 115px;
        padding: 14px;
    }

    .benefits-grid,
    .testimonials-grid,
    .how-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: 29px;
    }

    .about-content h2 {
        font-size: 31px;
    }

    .how-card,
    .benefit-card,
    .testimonial-card {
        padding: 24px;
    }
}
/* Ajuste do enquadramento da imagem JCS no Hero */
.hero-card-main .family {
    width: 100%;
    height: 300px;
    object-fit: contain !important;
    object-position: center;
    padding: 12px;
    box-sizing: border-box;
    background: #f4f4ef;
    border-radius: 18px;
}

@media (max-width: 600px) {
    .hero-card-main .family {
        height: 230px;
    }
}
/* CORREÇÃO DEFINITIVA DO LOGO NO HERO */
.hero-card-main img.family {
    display: block !important;

    width: 100% !important;
    height: 290px !important;

    object-fit: contain !important;
    object-position: center center !important;

    padding: 15px !important;
    box-sizing: border-box !important;

    border-radius: 18px !important;
    background: #f4f4ef !important;

    transform: none !important;
}

@media (max-width: 600px) {
    .hero-card-main img.family {
        height: 230px !important;
    }
}