/* 
 * Tatiane Cristina - Premium Landing Page Styles
 * Updated for Premium Agency Standard
 */

:root {
    --primary-blue: #1f4e79;
    --primary-blue-dark: #163a5c;
    --secondary-green: #2ca58d;
    --secondary-green-dark: #248a75;
    --bg-light: #f4f9fc;
    --bg-soft: #eef2f5;
    --white: #ffffff;
    --gray: #4a4a4a;
    --light-gray: #e0e0e0;
    --text-color: #333333;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 15px 35px rgba(31, 78, 121, 0.08);
    --shadow-hover: 0 20px 45px rgba(31, 78, 121, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --gradient-hero: linear-gradient(135deg, #eef7fc 0%, #f4f9fc 50%, #ffffff 100%);
    --gradient-cta: linear-gradient(135deg, var(--primary-blue) 0%, #2a659e 100%);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo,
.nav-links a {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 100px 0;
    /* More spacing */
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--secondary-green);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-soft-blue {
    background-color: #f0f6fa;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--secondary-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    background: rgba(44, 165, 141, 0.1);
    padding: 6px 18px;
    border-radius: 30px;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--secondary-green);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(44, 165, 141, 0.3);
}

.btn-primary:hover {
    background: var(--secondary-green-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(44, 165, 141, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-cta {
    background-color: var(--white);
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.2rem;
    padding: 20px 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
    transform: scale(1.05);
    background-color: #f0f0f0;
}

/* Header */
#header {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    height: 90px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo span {
    color: var(--secondary-green);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--secondary-green);
}

.nav-links .btn-nav {
    padding: 10px 25px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 30px;
}

.nav-links .btn-nav:hover {
    background-color: var(--primary-blue-dark);
    color: var(--white);
}

.mobile-menu-icon {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* Hero Section */
#hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-content h1 {
    font-size: 4rem;
    /* Bigger name */
    line-height: 1.1;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: 800;
}

.hero-content .subtitle {
    display: block;
    font-size: 1.1rem;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.hero-quote {
    font-size: 1.4rem;
    color: var(--primary-blue);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 40px;
    border-left: 4px solid var(--secondary-green);
    padding-left: 20px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.hero-microcopy {
    font-size: 0.9rem;
    color: #888;
    margin-top: 10px;
}

.image-placeholder {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle at 30% 30%, #eef7fc, #dcecf5);
    border-radius: 50% 50% 50% 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    /* Bigger icon */
    color: rgba(31, 78, 121, 0.2);
    box-shadow: 30px 30px 80px rgba(0, 0, 0, 0.08);
    border: 5px solid var(--white);
}

/* Authority Section */
.image-placeholder-rect {
    width: 100%;
    height: 450px;
    background-color: #eef2f5;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary-blue);
    box-shadow: var(--shadow-soft);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 16px;
    /* 12px+ */
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-card);
}

.service-card .icon-box {
    width: 70px;
    height: 70px;
    background-color: rgba(44, 165, 141, 0.08);
    color: var(--secondary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background-color: var(--secondary-green);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Education Section */
.education-intro {
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 30px;
}

/* Differentials Section */
.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* 2 cols logic */
    gap: 30px;
    margin-top: 50px;
}

.diff-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
}

.diff-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.diff-item .diff-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: rgba(31, 78, 121, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.diff-item h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.diff-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Trust Section */
.trust-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.trust-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-cta);
}

.trust-main-icon {
    font-size: 3rem;
    color: var(--secondary-green);
    margin-bottom: 25px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.trust-item i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    opacity: 0.8;
}

.trust-item p {
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-cta);
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 50px;
}

/* Footer structure same as before but ensured padding in root */

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* Pulse Animation */
.pulse-animation::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.pulse-button {
    animation: pulse-shadow 2s infinite;
}

@keyframes pulse-shadow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .container {
        width: 90%;
        padding: 0 20px;
    }

    /* ---- HEADER FIXES ---- */
    #header {
        height: 70px;
        padding: 0;
    }

    .header-container {
        justify-content: space-between;
        width: 100%;
        padding: 0 20px;
        /* Ensure padding on edges */
    }

    .logo {
        font-size: 1.4rem;
        /* Smaller logo for mobile */
        z-index: 1001;
        /* Above menu */
    }

    .nav-links {
        display: none !important;
        /* Force hide desktop menu */
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        gap: 20px;
        border-top: 1px solid #eee;
    }

    .nav-links.active {
        display: flex !important;
        /* Show only when active */
    }

    .mobile-menu-icon {
        display: block;
        /* Force show toggle */
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--primary-blue);
    }

    /* ---- HERO FIXES ---- */
    .hero-content h1 {
        font-size: 2.2rem;
        /* Fix huge title */
        font-weight: 700;
        line-height: 1.2;
    }

    .hero-content .subtitle {
        font-size: 0.9rem;
    }

    .image-placeholder {
        width: 250px;
        height: 250px;
        font-size: 4rem;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Hero */
    #hero {
        padding-top: 100px;
        padding-bottom: 50px;
        text-align: center;
        /* Center align hero on mobile looks better */
    }

    .hero-container {
        flex-direction: column;
        /* Ensure column layout */
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content .subtitle {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .hero-quote {
        font-size: 1.1rem;
        padding-left: 0;
        border-left: none;
        /* Remove border for centered layout */
        font-style: italic;
        margin-bottom: 30px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        /* Center buttons */
    }

    .btn {
        width: 100%;
        max-width: 300px;
        /* Prevent full width stretched buttons looking weird */
    }

    .image-placeholder {
        width: 250px;
        height: 250px;
        font-size: 5rem;
        /* Smaller icon */
        border-width: 3px;
        margin: 30px auto 0;
    }

    /* Authority */
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-features {
        justify-content: center;
        /* Center grid items */
        text-align: left;
        /* Keep feature text left aligned or centered depending on pref */
    }

    .image-placeholder-rect {
        height: 250px;
        /* Reduced height significantly */
        font-size: 4rem;
        margin-top: 30px;
    }

    /* Services & Grids */
    .services-grid,
    .differentials-grid,
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Education */
    .education-content {
        flex-direction: column;
    }

    .education-image {
        order: -1;
        /* Image first on mobile? Or verify preference. Keeping regular flow usually better for text. Let's keep text first. */
        display: block;
        margin-top: 30px;
    }

    /* CTA */
    .cta-section p {
        font-size: 1.1rem;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-social a {
        margin: 0 8px;
    }

    /* Font Sizes */
    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.9rem;
    }

    .image-placeholder {
        width: 100%;
        max-width: 250px;
        height: auto;
        aspect-ratio: 1/1;
    }
}