/* CSS Variables based on Hermes brand */
:root {
    --primary: #142654;
    /* Dark Blue */
    --hover-primary: #1b326e;
    --accent: #f4c16c;
    /* Gold/Yellow */
    --hover-accent: #e5b360;
    --bg-light: #f5f4f2;
    /* Off White */

    --text-dark: #222222;
    --text-body: #555555;
    --white: #ffffff;
    --border: #e0deda;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    --transition: all 0.3s ease;

    --shadow-sm: 0 4px 6px rgba(20, 38, 84, 0.05);
    --shadow-md: 0 10px 20px rgba(20, 38, 84, 0.08);
    --shadow-lg: 0 15px 35px rgba(20, 38, 84, 0.12);
    --shadow-accent: 0 10px 25px rgba(244, 193, 108, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
}

.text-highlight {
    color: var(--accent);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

section {
    padding: 6rem 0;
}

.center {
    text-align: center;
}

.bg-light {
    background-color: var(--white);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
}

.btn-primary:hover {
    background-color: var(--hover-accent);
    border-color: var(--hover-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(245, 244, 242, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(224, 222, 218, 0.5);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.logo-icon {
    height: 3rem !important;
    max-height: 3rem !important;
    width: auto !important;
    max-width: 6rem !important;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.menu-toggle .bar {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    left: 0;
    transition: var(--transition);
    border-radius: 2px;
}

.menu-toggle .bar:nth-child(1) {
    top: 0;
}

.menu-toggle .bar:nth-child(2) {
    top: 9px;
}

.menu-toggle .bar:nth-child(3) {
    bottom: 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-light) 0%, rgba(255, 255, 255, 0.5) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 193, 108, 0.15) 0%, rgba(245, 244, 242, 0) 70%);
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: rgba(20, 38, 84, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-body);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: absolute;
}

.main-card {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary) 0%, #203B82 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: none;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.main-card .stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.main-card .stat-label {
    font-size: 1.2rem;
    font-weight: 500;
}

.float-card-1 {
    top: 15%;
    right: 5%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.8rem;
    animation: float 6s ease-in-out infinite;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    z-index: 3;
}

.float-card-2 {
    bottom: 15%;
    left: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.8rem;
    animation: float 7s ease-in-out infinite reverse;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    z-index: 3;
}

.icon-box {
    width: 45px;
    height: 45px;
    background-color: var(--bg-light);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-visual-new {
    position: relative;
    height: 500px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-bg-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    width: 350px;
    height: 450px;
    background: linear-gradient(135deg, rgba(20, 38, 84, 0.05) 0%, rgba(244, 193, 108, 0.15) 100%);
    border-radius: 40px;
    z-index: 1;
}

/* Center Art */
.center-art-composition {
    position: relative;
    width: 300px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.glowing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
}

.orb-1 {
    width: 200px;
    height: 200px;
    background: rgba(244, 193, 108, 0.4);
    top: -20px;
    left: -30px;
    animation: orbFloat 8s infinite alternate ease-in-out;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(20, 38, 84, 0.2);
    bottom: -40px;
    right: -40px;
    animation: orbFloat 10s infinite alternate-reverse ease-in-out;
}

.glass-main-card {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    width: 85%;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 2;
    text-align: center;
}

.glass-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 10px 20px rgba(244, 193, 108, 0.3);
}

.glass-title {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.glass-line {
    width: 40px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

@keyframes orbFloat {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-30px) scale(1.1);
    }
}

/* Floating Balloons */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-md);
    position: absolute;
    z-index: 3;
}

.floating-stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
}

.card-pos-1 {
    top: 15%;
    left: -10%;
}

.card-pos-2 {
    bottom: 20%;
    right: -10%;
    animation-delay: -3s;
    animation-duration: 7s;
}

.stat-icon {
    font-size: 1.8rem;
    background: rgba(244, 193, 108, 0.2);
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.stat-text {
    font-size: 0.85rem;
    color: var(--text-body);
    font-weight: 600;
}

.floating-badge {
    top: -5%;
    right: 5%;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: float 5s ease-in-out infinite reverse;
    padding: 0.6rem 1.2rem 0.6rem 0.6rem;
}

.floating-badge .stat-icon {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.features-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.features-list li {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(244, 193, 108, 0.15);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    border: 1px solid rgba(244, 193, 108, 0.3);
}

.feature-text strong {
    display: block;
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.feature-text span {
    font-size: 1rem;
    color: var(--text-body);
}

/* Expertise Section - Premium Dark Mode */
.expertise-section {
    position: relative;
    padding: 7rem 0;
    background-color: var(--primary);
    color: var(--white);
    overflow: hidden;
}

.expertise-glow-1 {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 193, 108, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.expertise-glow-2 {
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.expertise-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.expertise-header .section-title {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.expertise-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

.expertise-badge {
    background-color: rgba(244, 193, 108, 0.15);
    color: var(--accent);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.expertise-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.expertise-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(244, 193, 108, 0.4);
    transform: translateY(-5px);
}


.expertise-icon {
    width: 50px;
    height: 50px;
    background: rgba(244, 193, 108, 0.15);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    box-shadow: 0 0 20px rgba(244, 193, 108, 0.1);
}

.expertise-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.expertise-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .expertise-section {
        padding: 4rem 0;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .expertise-card {
        padding: 1.5rem;
    }

    .expertise-glow-1 {
        width: 300px;
        height: 300px;
        top: -50px;
        left: -50px;
    }

    .expertise-glow-2 {
        width: 300px;
        height: 300px;
        bottom: -50px;
        right: -50px;
    }

    .expertise-header {
        margin-bottom: 2.5rem;
    }

    .expertise-header .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .expertise-header p {
        font-size: 1rem;
    }

    .expertise-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .pulse-core {
        font-size: 2.5rem;
    }

    .visual-placeholder {
        width: 120px;
        height: 120px;
    }
}

/* Pricing Section */
.pricing .section-header {
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.pricing .section-header p {
    font-size: 1.15rem;
    margin-top: 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background-color: var(--bg-light);
    border-radius: 20px;
    padding: 3rem 2rem;
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background-color: var(--white);
    border-color: rgba(20, 38, 84, 0.1);
}

.pricing-card.featured {
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.pricing-card:hover.featured {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -16px;
    right: 30px;
    background-color: var(--accent);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: var(--shadow-accent);
}

.card-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.card-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.pricing-card:not(.featured) h3 {
    color: var(--primary);
}

.pricing-card.featured h3 {
    color: var(--white);
}

.price {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: var(--text-dark);
}

.pricing-card.featured .price {
    color: var(--white);
}

.price .currency-val {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 5px;
    margin-right: 8px;
    /* Added spacing */
}

.price strong {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
}

.price .cents-wrap {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-left: 8px;
    /* Increased from 5px */
    margin-top: 5px;
}

.price .cents {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    margin-left: 4px;
    /* Added spacing to cents specifically if there's no wrapper */
}

.price .period {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
    margin-top: 2px;
}

.pricing-card.featured .price .period {
    color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   Success Modal (Premium Animated Design)
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 15, 30, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Base Wrapper for the animated gradient border */
.modal-border-wrap {
    position: relative;
    padding: 2px;
    /* Largura da borda animada */
    border-radius: 24px;
    background: transparent;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    width: 440px;
}

.modal-overlay.active .modal-border-wrap {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Background animado da borda */
.modal-border-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: conic-gradient(from 0deg,
            transparent 0%,
            var(--accent) 25%,
            transparent 50%,
            var(--accent) 75%,
            transparent 100%);
    z-index: -1;
    opacity: 0;
    /* Inicia invisível */
    transition: opacity 0.3s ease;
}

.modal-border-wrap.animate-border::before {
    opacity: 1;
    animation: rotateBorder 4s linear infinite;
}

@keyframes rotateBorder {
    100% {
        transform: rotate(1turn);
    }
}

/* Inner content */
.modal-content {
    background: var(--white);
    border-radius: 22px;
    /* Ligeiramente menor que o wrapper para acomodar a borda */
    padding: 3rem 2.5rem;
    position: relative;
    text-align: center;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

/* Close button */
.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-body);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.close-modal:hover {
    background-color: var(--bg-light);
    color: var(--primary);
    transform: rotate(90deg);
}

.close-modal svg {
    width: 20px;
    height: 20px;
}

/* Success Graphic Composition */
.modal-graphic {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-graphic-bg {
    position: absolute;
    inset: 0;
    background-color: rgba(244, 193, 108, 0.15);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.2s;
}

.modal-overlay.active .modal-graphic-bg {
    transform: scale(1);
}

.modal-icon-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    box-shadow: var(--shadow-accent);
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.3s;
    z-index: 2;
}

.modal-overlay.active .modal-icon-wrapper {
    transform: scale(1);
}

/* Particles / Sparkles */
.modal-sparkle {
    position: absolute;
    color: var(--accent);
    opacity: 0;
    transform: scale(0);
}

.sparkle-1 {
    top: 0;
    left: 10px;
    width: 12px;
    height: 12px;
}

.sparkle-2 {
    bottom: 10px;
    right: 0;
    width: 16px;
    height: 16px;
}

.sparkle-3 {
    top: 20px;
    right: -5px;
    width: 10px;
    height: 10px;
}

.modal-overlay.active .modal-sparkle {
    animation: popSparkle 0.8s forwards;
}

.modal-overlay.active .sparkle-1 {
    animation-delay: 0.5s;
}

.modal-overlay.active .sparkle-2 {
    animation-delay: 0.6s;
}

.modal-overlay.active .sparkle-3 {
    animation-delay: 0.7s;
}

@keyframes popSparkle {
    0% {
        opacity: 0;
        transform: scale(0) translateY(0);
    }

    50% {
        opacity: 1;
        transform: scale(1.2) translateY(-10px);
    }

    100% {
        opacity: 0;
        transform: scale(0) translateY(-15px);
    }
}

/* Typography & Content */
.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.8rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s ease;
    transition-delay: 0.4s;
}

.modal-title span {
    color: var(--accent);
    display: block;
}

.modal-text {
    color: var(--text-body);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s ease;
    transition-delay: 0.5s;
}

.modal-overlay.active .modal-title,
.modal-overlay.active .modal-text,
.modal-overlay.active .btn-modal {
    opacity: 1;
    transform: translateY(0);
}

.btn-modal {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(15px);
    transition: background-color 0.3s, transform 0.5s, opacity 0.5s, box-shadow 0.3s;
    transition-delay: 0.6s;
}

.btn-modal:hover {
    transition-delay: 0s;
    /* Fix hover delay issue */
}

.setup-fee {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-body);
    margin-top: 0.8rem;
    padding: 0.4rem 0.8rem;
    background-color: rgba(20, 38, 84, 0.05);
    border-radius: 8px;
    display: inline-block;
}

.pricing-card.featured .setup-fee {
    color: rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.15);
}

.card-body {
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.plan-features li::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

/* Green Check */
.pricing-card:not(.featured) .plan-features li.included::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232e9e4a"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>');
}

/* Yellow Check for featured */
.pricing-card.featured .plan-features li.included::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232e9e4a"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>');
}

/* Red Cross */
.pricing-card:not(.featured) .plan-features li.excluded::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e85a5a"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>');
}

.pricing-card.featured .plan-features li.excluded::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e85a5a"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>');
}

.plan-features li.excluded {
    color: var(--text-body);
    font-weight: 500;
}

.pricing-card.featured .plan-features li.excluded {
    color: rgba(255, 255, 255, 0.6);
}

.card-footer {
    padding-top: 2rem;
    margin-top: auto;
}

@keyframes pulse-btn-outline {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(20, 38, 84, 0.4);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(20, 38, 84, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(20, 38, 84, 0);
    }
}

@keyframes pulse-btn-primary {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(244, 193, 108, 0.6);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(244, 193, 108, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(244, 193, 108, 0);
    }
}

.pricing-card .btn-outline {
    background-color: #142654;
    color: #ffffff;
    border-color: #142654;
    animation: pulse-btn-outline 2.5s infinite;
}

.pricing-card .btn-outline:hover {
    background-color: #1b326e;
    border-color: #1b326e;
    animation: none;
    transform: scale(1.02);
}

.pricing-card.featured .btn-primary {
    background-color: #f4c16c;
    color: #000000;
    border-color: #f4c16c;
    animation: pulse-btn-primary 2s infinite;
}

.pricing-card.featured .btn-primary:hover {
    background-color: #e5b360;
    color: #000000;
    animation: none;
    transform: translateY(-2px) scale(1.02);
}

.btn-pulse {
    animation: pulse-btn-primary 2s infinite;
}

.btn-pulse:hover {
    animation: none;
    transform: translateY(-2px) scale(1.02);
}


/* Contact Section */
.contact {
    background-color: var(--primary);
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.contact-info p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1.1rem;
    font-weight: 500;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.contact-item .icon {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--bg-light);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(244, 193, 108, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: #0d1a3e;
    color: var(--white);
    padding-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    margin-bottom: 1.2rem;
}

.footer-logo-icon {
    height: 1.2rem !important;
    max-height: 1.2rem !important;
    width: auto !important;
    max-width: 2.5rem !important;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-brand .logo-text {
    color: var(--white);
    display: block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 350px;
    font-size: 1rem;
}

.footer h4 {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 1.8rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.social-icons a:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.8rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

/* Animations Trigger Classes - Simplified for guaranteed visibility */
.fade-in {
    opacity: 1;
    /* Always visible to prevent blank page bug */
    transform: translateY(20px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.appear {
    transform: translateY(0);
}

.show-on-mobile {
    display: none;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .pricing-card.featured {
        transform: scale(1.02);
    }
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: translateY(0);
    }

    .pricing-card:hover.featured {
        transform: translateY(-8px);
    }
}

@media (max-width: 900px) {

    .hero-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        display: none;
    }

    .about-content {
        text-align: left;
    }

    .about-visual {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .contact-info {
        text-align: left;
    }

    .hide-on-mobile {
        display: none !important;
    }

    .show-on-mobile {
        display: flex !important;
        margin-top: 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions .btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .navbar.menu-open {
        background-color: var(--white);
    }

    .navbar.menu-open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 2rem;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        text-align: center;
        gap: 1.5rem;
    }

    .navbar.menu-open .nav-actions .btn {
        display: inline-flex;
        margin-top: 1.5rem;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.3rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .pricing-card {
        padding: 2.5rem 1.5rem;
    }

    .price strong {
        font-size: 3.5rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .contact-item {
        font-size: 0.95rem;
        gap: 0.8rem;
    }

    .about-visual-new {
        height: 380px;
    }

    .center-art-composition {
        transform: scale(0.65);
    }

    .floating-stat-card {
        transform: scale(0.7);
    }

    .floating-badge {
        transform: scale(0.7);
        top: 0;
        right: -5%;
    }

    .card-pos-1 {
        left: -15%;
        top: 10%;
    }

    .card-pos-2 {
        right: -15%;
        bottom: 10%;
    }
}

@media (max-width: 768px) {
    .about-visual-new {
        height: 420px;
    }

    .center-art-composition {
        transform: scale(0.85);
    }

    .floating-stat-card {
        transform: scale(0.85);
    }

    .floating-badge {
        transform: scale(0.85);
        top: 0;
        right: 0;
    }

    .card-pos-1 {
        left: -5%;
        top: 10%;
    }

    .card-pos-2 {
        right: -5%;
        bottom: 10%;
    }
}

/* RESET BASE (ESSENCIAL) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* CONTAINER CENTRALIZADO */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /* CENTRALIZA */
    padding-left: 16px;
    padding-right: 16px;
}

/* GARANTE QUE NADA PASSE DA TELA */
section,
.contact,
.hero,
.about,
.pricing {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* FORMULÁRIO AJUSTADO */
.contact-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 16px;
    }

    .contact-info,
    .contact-form-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .contact-form {
        width: 100%;
    }

    .form-group {
        width: 100%;
    }

    .contact-form input,
    .contact-form button {
        width: 100%;
        max-width: 100%;
    }
}

/* EVITA QUALQUER ELEMENTO VAZAR */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

.show-on-mobile .section-title {
    text-align: center;
    width: 100%;
}

.contact-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* TEXTO (lado esquerdo) */
.contact-info {
    flex: 1;
}

/* FORMULÁRIO (lado direito) */
.contact-form-wrapper {
    flex: 1.2;
    /* deixa ele maior que o texto */
    max-width: 520px;
    /* largura ideal */
    width: 100%;
}

.contact-form-wrapper {
    flex: 1.3;
    max-width: 550px;
    width: 100%;
}