/* Variáveis de cores e fontes */
:root {
    --deep-blue: #3E6BA4;
    --gold-yellow: #E0BA65;
    --coral-red: #E46C52;
    --mint-green: #71B59E;
    --off-white: #FDF5EF;
    --dark-text: #2A3B47;
    --light-text: #F8F9FA;
    --font-heading: 'OpenDyslexic', 'Manrope', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* Reset e estilos globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'OpenDyslexic';
    src: url('imagens/fontes/OpenDyslexic-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: var(--font-body);
    color: var(--dark-text);
    line-height: 1.7;
    background-color: var(--off-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--deep-blue);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--coral-red), var(--gold-yellow));
    border-radius: 2px;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: var(--deep-blue);
    transition: var(--transition);
}

a:hover {
    color: var(--coral-red);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--deep-blue), var(--mint-green));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn:hover::after {
    transform: translateX(0);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--deep-blue);
    color: var(--deep-blue);
}

.btn-outline:hover {
    background: var(--deep-blue);
    color: white;
}

.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.text-center {
    text-align: center;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--deep-blue);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--coral-red);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--coral-red), var(--gold-yellow));
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--deep-blue);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--deep-blue) 0%, #2a4d69 100%);
    color: white;
    padding: 12rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon points="0,100 100,0 100,100" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    color: white;
    margin-bottom: 1.8rem;
    font-size: 3.2rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.8rem;
    max-width: 700px;
    color: rgba(255, 255, 255, 0.92);
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.8rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    margin-top: 2.5rem;
}

.highlight-card {
    background-color: var(--off-white);
    padding: 1.8rem;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid rgba(62, 107, 164, 0.1);
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(62, 107, 164, 0.2);
}

.highlight-card i {
    font-size: 2.2rem;
    color: var(--coral-red);
    margin-bottom: 1.2rem;
}

.highlight-card h3 {
    color: var(--deep-blue);
    margin-bottom: 0.8rem;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 5px solid white;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--mint-green) 0%, var(--deep-blue) 100%);
    opacity: 0.05;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Services Section */
.services {
    background-color: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.service-icon {
    height: 200px;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--mint-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4.5rem;
}

.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    margin-bottom: 1rem;
    color: var(--deep-blue);
}

.service-content p {
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

.service-link {
    margin-top: auto;
    align-self: flex-start;
    font-weight: 600;
    color: var(--coral-red);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Values Section */
.values {
    background-color: white;
    position: relative;
}

.values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path fill="%2371b59e" fill-opacity="0.03" d="M49.9,-31.2C58.5,-18.5,55.7,2.9,46.5,18.7C37.2,34.5,21.6,44.7,2.7,44.3C-16.3,43.9,-32.5,32.9,-41.4,16.7C-50.3,0.5,-51.8,-20.8,-42.9,-33.8C-34.1,-46.7,-15,-51.3,3.6,-52.5C22.1,-53.7,41.3,-51.4,49.9,-31.2Z" transform="translate(100 100)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.value-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    background-color: white;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(62, 107, 164, 0.1);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(62, 107, 164, 0.2);
}

.value-icon {
    font-size: 3.5rem;
    color: var(--deep-blue);
    margin-bottom: 1.8rem;
}

.value-card h3 {
    color: var(--coral-red);
    margin-bottom: 1.2rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--mint-green) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon points="0,0 100,100 0,100" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    opacity: 0.2;
}

.contact h2 {
    color: white;
}

.contact h2::after {
    background: linear-gradient(90deg, white, var(--gold-yellow));
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    position: relative;
    z-index: 1;
}

.contact-info {
    padding: 1.5rem 0;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: 2.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-method i {
    font-size: 2rem;
    color: var(--gold-yellow);
    min-width: 40px;
}

.contact-form {
    background-color: white;
    padding: 2.8rem;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-form h3 {
    color: var(--deep-blue);
    margin-bottom: 1.8rem;
    text-align: center;
    font-family: var(--font-heading);
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--dark-text);
    font-size: 1.05rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1.05rem;
    font-family: var(--font-body);
    transition: var(--transition);
    background-color: var(--off-white);
}

.form-control:focus {
    border-color: var(--mint-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(113, 181, 158, 0.25);
}

textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.social-buttons {
    display: flex;
    gap: 1.2rem;
    margin-top: 2.2rem;
    justify-content: center;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background-color: white;
    color: var(--deep-blue);
    border-radius: 50%;
    font-size: 1.8rem;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
    transform: translateY(-5px);
    color: white;
    background: linear-gradient(135deg, var(--deep-blue), var(--mint-green));
}

/* Footer */
footer {
    background-color: var(--deep-blue);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.8rem;
}

.footer-logo img {
    height: 45px;
}

.footer-logo .logo-text {
    color: white;
    font-size: 1.8rem;
}

.footer-links {
    display: flex;
    gap: 1.8rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--gold-yellow);
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

/* Service Page Styles */
.service-header {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--mint-green) 100%);
    color: white;
    padding: 9rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.service-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon points="0,100 100,0 100,100" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.service-header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-header h1 {
    color: white;
    margin-bottom: 1.2rem;
}

.service-details {
    padding: 5rem 0;
    background-color: white;
}

.service-container {
    max-width: 900px;
    margin: 0 auto;
}

.service-content-block {
    margin-bottom: 3.5rem;
}

.service-content-block h2 {
    margin-bottom: 1.5rem;
    color: var(--deep-blue);
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.feature-card {
    background-color: var(--off-white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(62, 107, 164, 0.1);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(62, 107, 164, 0.2);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--coral-red);
    margin-bottom: 1.2rem;
}

.service-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Responsividade */
@media (max-width: 992px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }

    .hero {
        padding: 10rem 0 5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4rem 0;
    }

    .service-header {
        padding: 8rem 0 3rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 1.8rem;
    }
    
    .service-header h1 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 3.5rem 0;
    }
}