:root {
    --color-primary-blue: #322675;
    /* Azul Escuro / Roxo da borda e letras */
    --color-accent-red: #D12028;
    /* Vermelho do telhado da tenda */
    --color-accent-yellow: #FDED2D;
    /* Amarelo da caixa de texto GALEGO */
    --color-white: #FFFFFF;
    --color-bg-light: #F8F9FA;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: var(--font-family);
    background-color: var(--color-white);
    color: var(--color-primary-blue);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    line-height: 1.2;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-white);
}

.text-blue {
    color: var(--color-primary-blue);
}

.text-red {
    color: var(--color-accent-red);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    gap: 8px;
}

.btn-red {
    background-color: var(--color-accent-red);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.btn-red:hover {
    background-color: #B71C1C;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6);
}

.btn-yellow {
    background-color: var(--color-accent-yellow);
    color: var(--color-primary-blue);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.btn-yellow:hover {
    background-color: #FFB300;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}

/* Header Navbar */
.navbar {
    padding: 20px 0;
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-primary-blue);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--color-accent-red);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-accent-yellow);
    transition: width 0.3s;
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.footer-logo {
    justify-content: center;
    margin-bottom: 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 30%, rgba(255, 255, 255, 0) 70%), url('tenda.png') no-repeat center right;
    background-size: cover;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    min-height: 550px;
    display: flex;
    align-items: center;
}

@media (max-width: 992px) {
    .hero {
        background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)), url('tenda.png') no-repeat center center;
        background-size: cover;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--color-primary-blue);
}

.hero-content p {
    font-size: 1.2rem;
    color: #4B5563;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-primary-blue);
    object-fit: cover;
    height: 450px;
}

.badges {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-white);
    padding: 12px 20px;
    border-radius: 50px 0 0 50px;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(50, 38, 117, 0.1);
    border-right: none;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primary-blue);
    transition: var(--transition);
    animation: slideInRight 0.8s ease forwards;
    opacity: 0;
}

.badge-item:nth-child(2) {
    animation-delay: 0.2s;
}

.badge-item:nth-child(3) {
    animation-delay: 0.4s;
}

.badge-item:hover {
    transform: translateX(-10px);
    background: var(--color-bg-light);
}

.badge-item svg {
    color: var(--color-accent-red);
    width: 22px;
    height: 22px;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translate(100%, -50%);
    }

    to {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

/* Redefining slideInRight specifically for vertical layout without the translateY conflict */
@keyframes sealSlideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.badge-item {
    animation: sealSlideIn 0.8s ease forwards;
}

@media (max-width: 992px) {
    .badges {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 30px;
        gap: 10px;
    }

    .badge-item {
        border-radius: 50px;
        border-right: 1px solid rgba(50, 38, 117, 0.1);
    }
}

/* Models Section */
.models-section {
    background-color: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-accent-yellow);
    border-radius: 2px;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.model-card {
    background: var(--color-white);
    border: 2px solid var(--color-primary-blue);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.model-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent-red);
}

.model-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid var(--color-primary-blue);
}

.model-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.model-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.model-features {
    list-style: none;
    margin-bottom: 25px;
    flex-grow: 1;
}

.model-features li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.model-features li::before {
    content: "✓";
    color: var(--color-accent-yellow);
    font-weight: bold;
}

.model-card .btn {
    width: 100%;
}

/* Why Choose Us */
.features-section {
    background-color: var(--color-accent-yellow);
    color: var(--color-primary-blue);
}

.features-section .section-header h2::after {
    background-color: var(--color-primary-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.feature-box {
    background: var(--color-white);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid var(--color-primary-blue);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary-blue);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.feature-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 0.9rem;
    color: #4B5563;
}

/* For Whom Section */
.audiences-section {
    background-color: var(--color-bg-light);
}

.audiences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.audience-card {
    background: var(--color-white);
    padding: 25px;
    border-left: 4px solid var(--color-accent-red);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.audience-card:hover {
    box-shadow: var(--shadow-md);
}

.audience-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.audience-card p {
    font-size: 0.95rem;
    color: #4B5563;
}

/* Social Proof */
.testimonials-section {
    background-color: var(--color-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 30px;
    border: 2px solid var(--color-bg-light);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    background-color: var(--color-white);
}

.testimonial-card:hover {
    border-color: var(--color-accent-yellow);
    box-shadow: var(--shadow-sm);
}

.stars {
    color: var(--color-accent-yellow);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #4B5563;
}

.testimonial-author {
    font-weight: 800;
    color: var(--color-primary-blue);
    font-size: 1.1rem;
}

/* Final CTA */
.cta-section {
    background-color: var(--color-accent-red);
    color: var(--color-white);
    text-align: center;
    padding: 100px 0;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--color-white);
}

.cta-section .btn-yellow {
    font-size: 1.2rem;
    padding: 18px 40px;
    margin-bottom: 20px;
}

.cta-support {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: var(--color-primary-blue);
    color: var(--color-white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

/* Subtle background accent for footer */
footer::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(253, 237, 45, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.25rem;
    margin-bottom: 25px;
    color: var(--color-accent-yellow);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-accent-red);
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
    background: white;
    padding: 5px;
    border-radius: 8px;
    object-fit: contain;
}

/* Listas no Footer */
.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--color-accent-yellow);
    padding-left: 5px;
}

/* Lista de Contato */
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px !important;
}

.footer-contact-list i,
.footer-contact-list svg {
    color: var(--color-accent-yellow);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 3px;
    stroke-width: 2px;
}

.footer-contact-list span,
.footer-contact-list a {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Redes Sociais */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background-color: var(--color-accent-red);
    transform: translateY(-3px);
    border-color: var(--color-accent-red);
}

.social-links i {
    width: 20px;
    height: 20px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 0;
}

.developer-credit {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.tpo-logo {
    height: 100px;
    width: auto;
    filter: brightness(0.7);
    /* Efeito cinza */
    opacity: 0.8;
    transition: var(--transition);
}

.tpo-logo:hover {
    transform: scale(1.05);
}

.dev-tag {
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem !important;
    margin: 0;
    color: #888;
    /* Cinza médio */
}

.dev-tag b {
    color: #aaa;
    /* TPO em cinza mais claro */
    font-weight: 800;
}

/* Ajustes Responsivos para o Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col {
        text-align: center;
    }

    .developer-credit {
        align-items: center;
    }

    .footer-contact-list li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .badges {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: -30px;
        z-index: 2;
    }

    .navbar .btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .navbar .btn {
        width: auto;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    stroke: #fff;
    stroke-width: 2.5;
}