:root {
    --color-primary: #003D71;
    --color-secondary: #54595F;
    --color-text: #333333;
    --color-accent: #1200FF;
    --color-button: #FEC609;
    --color-button-hover: #e6b200;
    --color-bg-light: #F3F8FF;
    --color-white: #ffffff;

    --font-primary: 'Barlow Semi Condensed', sans-serif;
    --font-secondary: 'Roboto Slab', serif;
    --font-text: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
    /* Prevents sticky header from covering anchor targets */
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    line-height: 1.1;
    /* ↓ diminui o espaço entre as linhas */
}

p {
    font-family: var(--font-text);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    /* ↓ diminui o espaço entre as linhas */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1px auto;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 32px auto;
}

.logo img {
    width: 100%;
    max-width: 280px;
    /* tamanho ideal desktop */
    height: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--color-primary);
}

.nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: var(--color-primary);
}

.btn-nav {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-nav:hover {
    background-color: var(--color-accent);
}

/* Hero Section */
/* Hero Section */
.hero {
    position: relative;
    min-height: 85vh;
    /* Slightly taller to show more image */
    display: flex;
    align-items: center;
    padding: 4rem 0;
    overflow: hidden;
}

/* Hero background - Full Image focus */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero-bg-new.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
    /* Removed 'fixed' attachment to prevent zooming/cropping issues, ensuring the image is seen more completely */
}

/* Animation removed to prioritize readability and full image view */


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient adapted to show image on the right */
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 35%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

/* Ensures overlay sits on top of the ::before image */


.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 2rem;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h2 {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    /* Large Headline */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--color-secondary);
    margin-bottom: 2rem;
}

/* Form */
.hero-form-wrapper {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 100%;
    border: 2px solid var(--color-button);
}

.hero-form-wrapper h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.simple-form .form-group {
    margin-bottom: 1rem;
}

.simple-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-primary);
}

.simple-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-text);
    background: #f9f9f9;
}

.simple-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--color-button);
    border: none;
    border-radius: 50px;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    margin-top: 1rem;
}

.btn-submit:hover {
    background-color: var(--color-button-hover);
    transform: scale(1.02);
}

.form-footer {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 10px;
    color: #888;
}

/* Buttons */
.btn-cta {
    display: inline-block;
    background-color: var(--color-button);
    color: var(--color-primary);
    font-weight: 800;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(254, 198, 9, 0.4);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: var(--color-button-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(254, 198, 9, 0.6);
}

.btn-large {
    font-size: 1.5rem;
    padding: 20px 40px;
}

/* Sections */
.info-section {
    padding: 4rem 0;
    background-color: var(--color-bg-light);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.info-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.info-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 5px 5px 0px 1px var(--color-button);
}

.benefits-section {
    padding: 4rem 0;
    background-color: var(--color-white);
    text-align: center;
}

.partners-section {
    padding: 4rem 0;
    background-color: var(--color-bg-light);
    /* Slight distinction or keep white? Let's use light to distinguish or reuse white. User said 'different sections'. */
    background-color: #ffffff;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0px 0px 20px 10px #C8DEFC inset;
    /* Sinaf style shadow */
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.benefit-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.cta-section {
    background-color: var(--color-primary);
    padding: 5rem 0;
    text-align: center;
    color: var(--color-white);
}

.cta-section h2 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.footer {
    background-color: #f1f1f1;
    padding: 2rem 0;
    text-align: center;
    color: var(--color-secondary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(254, 198, 9, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(254, 198, 9, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(254, 198, 9, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    /* Start hidden */
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Partners Display Styling */
.partners-display {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    /* Space between logos */
    margin-bottom: 25px;
    padding: 10px;
}

.partner-logo {
    height: 65px;
    /* Fixed height for visual consistency */
    width: auto;
    max-width: 180px;
    /* decreased max-width constraint */
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.partner-logo.logo-large {
    height: 75px;
    /* Larger height for Sulamerica and Yelum */
    max-width: 200px;
}

@media (max-width: 768px) {
    .partners-display {
        gap: 15px;
    }

    .partner-logo {
        height: 35px;
        /* Smaller fixed height for mobile */
        max-width: 100px;
    }

    .partner-logo.logo-large {
        height: 42px;
        max-width: 120px;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        text-align: center;
        padding-top: 2rem;
    }

    /* Disable Parallax on Mobile for performance/compatibility */
    .hero::before {
        background-attachment: scroll !important;
        background-position: center bottom !important;
        /* Adjust for mobile portrait */
    }

    .hero-content {
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        flex-direction: column;
        gap: 10px;
    }

    .logo img {
        max-width: 200px;
        /* tamanho ideal mobile */
    }
}

/* === Other Services Section === */
.other-services {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    border-top: 1px solid #e0e0e0;
}

.other-services h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.other-services p {
    font-size: 1.2rem;
    color: var(--color-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* === Shiny Button === */
.btn-shiny {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #003D71;
    /* Primary color fallback */
    background: linear-gradient(to right, #003D71, #00509d);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 18px 40px;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 61, 113, 0.3);
}

.btn-shiny:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 61, 113, 0.4);
    background: linear-gradient(to right, #00509d, #003D71);
}

.btn-shiny i {
    font-size: 1.2rem;
}

/* Shine Animation */
.btn-shiny::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shiny 3s infinite;
}

@keyframes shiny {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* === Senra Showcase Section (New Premium Design) === */
.senra-showcase {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    /* Subtle premium grey/white gradient */
    position: relative;
    overflow: hidden;
}

/* Background Element for depth */
.senra-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 61, 113, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.senra-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.senra-intro {
    text-align: left;
}

.badge-trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 61, 113, 0.1);
    /* Primary color low opacity */
    color: var(--color-primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 61, 113, 0.2);
}

.senra-intro h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.divider-gold {
    width: 80px;
    height: 4px;
    background: var(--color-button);
    /* Use the gold/yellow color */
    margin-bottom: 25px;
    border-radius: 2px;
}

.senra-intro p {
    color: var(--color-secondary);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.senra-intro .highlight-text {
    font-weight: 500;
    color: #000;
    border-left: 3px solid var(--color-button);
    padding-left: 15px;
}

.trust-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: 600;
}

/* Visual Card */
.senra-visual-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.senra-visual-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 61, 113, 0.15);
}

.card-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--color-button);
    opacity: 0.15;
    filter: blur(50px);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.senra-logo-main {
    position: relative;
    z-index: 1;
    max-width: 80%;
    height: auto;
    margin-bottom: 20px;
}

.card-footer-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.card-footer-text span {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.card-footer-text .stars {
    color: var(--color-button);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* Mobile Responsiveness for Senra Section */
@media (max-width: 768px) {
    .senra-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .senra-intro {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .divider-gold {
        margin: 0 auto 25px auto;
    }

    .senra-intro .highlight-text {
        border-left: none;
        border-bottom: 3px solid var(--color-button);
        padding-left: 0;
        padding-bottom: 15px;
    }

    .trust-stats {
        justify-content: center;
    }
}

/* === New Footer Styling === */
footer {
    background-color: #f9fafb;
    padding: 60px 0 20px;
    border-top: 1px solid #eef2f6;
    color: #4a5568;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
}

.footer-col h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.footer-col h4 {
    color: #2d3748;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col p {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.footer-col a {
    color: #4a5568;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    display: block;
    width: fit-content;
}

.footer-col a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #718096;
}

/* Footer Mobile */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-col {
        text-align: center;
        align-items: center;
    }

    .footer-col a {
        width: auto;
    }
}