/* ===== CSS RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--body-color);
    overflow-x: hidden;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --primary-color: #1E7FFF;
    --primary-dark: #0D4F99;
    --primary-light: #E6F3FF;
    --accent-color: #00D4AA;
    --text-color: #1A1A1A;
    --text-secondary: #333333;
    --text-muted: #666666;
    --body-color: #FFFFFF;
    --container-color: #F8F9FA;
    --border-color: #E5E7EB;
    --shadow-light: 0 2px 16px rgba(30, 127, 255, 0.1);
    --shadow-medium: 0 4px 32px rgba(30, 127, 255, 0.15);
    --shadow-heavy: 0 8px 64px rgba(30, 127, 255, 0.2);
    
    /* Typography */
    --h1-font-size: 3.5rem;
    --h2-font-size: 2.5rem;
    --h3-font-size: 1.75rem;
    --h4-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.75rem;
    
    /* Font Weight */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;
    --font-extra-bold: 800;
    
    /* Spacing */
    --header-height: 4.5rem;
    --section-padding: 6rem 0;
    --container-padding: 0 1.5rem;
    --border-radius: 0.75rem;
    --border-radius-small: 0.5rem;
    --border-radius-large: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index */
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    font-size: var(--h2-font-size);
    font-weight: var(--font-extra-bold);
    color: var(--text-color);
    margin-bottom: 1rem;
    position: relative;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 0.25rem;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section__subtitle {
    font-size: var(--normal-font-size);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
    text-decoration: none;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-light);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn--secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn--secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn--large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn i {
    font-size: 1.125rem;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: var(--z-fixed);
    transition: all var(--transition-medium);
}

.header.scroll-header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-light);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo-img {
    height: 8.5rem;
    width: auto;
    margin-top: 1.2rem;
}

.nav__menu {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    font-weight: var(--font-medium);
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--primary-color);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-medium);
}

.nav__link:hover::after,
.nav__link.active-link::after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255, 255, 255, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23E6F3FF" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: -1;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__title {
    font-size: var(--h1-font-size);
    font-weight: var(--font-extra-bold);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero__title-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-heavy);
}

.hero__floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    animation: float 6s ease-in-out infinite;
}

.floating-element i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.floating-element--1 {
    top: 10%;
    right: 20%;
    animation-delay: 0s;
}

.floating-element--2 {
    top: 60%;
    right: 10%;
    animation-delay: 1.5s;
}

.floating-element--3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 3s;
}

.floating-element--4 {
    top: 30%;
    left: 10%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--container-color);
}

.about__content {
    display: grid;
    gap: 4rem;
}

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

.about__card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: transform var(--transition-medium);
}

.about__card:hover {
    transform: translateY(-5px);
}

.about__card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.about__card-icon i {
    font-size: 2rem;
    color: white;
}

.about__card-title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-bold);
    margin-bottom: 1rem;
    color: var(--text-color);
}

.about__card-description {
    color: var(--text-muted);
    line-height: 1.7;
}

.about__values-title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-bold);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.values__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value__item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    border-left: 4px solid var(--primary-color);
}

.value__item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.value__icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.value__icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.value__title {
    font-size: var(--h4-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: 1rem;
    color: var(--text-color);
}

.value__description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== SERVICES SECTION ===== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service__card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.service__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.service__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.service__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service__icon i {
    font-size: 2rem;
    color: white;
}

.service__title {
    font-size: var(--h4-font-size);
    font-weight: var(--font-bold);
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service__description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service__features {
    list-style: none;
}

.service__features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.service__features i {
    color: var(--accent-color);
    font-size: 0.875rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background: var(--container-color);
}

.testimonials__container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials__wrapper {
    overflow: hidden;
    border-radius: var(--border-radius-large);
}

.testimonial__card {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    text-align: center;
    display: none;
}

.testimonial__card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial__stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testimonial__stars i {
    color: #FFD700;
    font-size: 1.25rem;
}

.testimonial__text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial__avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial__avatar i {
    font-size: 1.5rem;
    color: white;
}

.testimonial__info {
    text-align: left;
}

.testimonial__name {
    font-size: var(--h4-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.testimonial__position {
    color: var(--text-muted);
    font-size: var(--small-font-size);
}

.testimonials__navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonials__btn {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.testimonials__btn:hover {
    background: var(--primary-color);
    color: white;
}

.testimonials__btn i {
    font-size: 1.125rem;
    color: var(--primary-color);
    transition: color var(--transition-medium);
}

.testimonials__btn:hover i {
    color: white;
}

.testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.testimonial__dot {
    width: 12px;
    height: 12px;
    background: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.testimonial__dot.active {
    background: var(--primary-color);
}

/* ===== CONTACT SECTION ===== */
.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact__info-title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-bold);
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact__info-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact__detail {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact__detail-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact__detail-icon i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.contact__detail-info h4 {
    font-weight: var(--font-semi-bold);
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.contact__detail-info p {
    color: var(--text-muted);
}

.contact__form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__label {
    display: block;
    font-weight: var(--font-medium);
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: var(--normal-font-size);
    transition: border-color var(--transition-fast);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__submit {
    width: 100%;
    justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-color);
    color: white;
    padding: 4rem 0 1rem;
}

/* ===== SEÇÃO SUPERIOR: Contatos, Serviços, Empresa ===== */
.footer__top {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #333;
}

.footer__top-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: start;
}

.footer__section {
    display: flex;
    flex-direction: column;
}

.footer__title {
    font-size: var(--h4-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: 1.5rem;
    color: white;
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__link {
    color: #B0B0B0;
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: var(--normal-font-size);
}

.footer__link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #B0B0B0;
    font-size: var(--normal-font-size);
}

.footer__contact-item i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* ===== SEÇÃO INFERIOR: Logo à esquerda + Texto à direita ===== */
.footer__bottom {
    margin-bottom: 2rem;
}

.footer__bottom-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
}

.footer__logo-section {
    display: flex;
    align-items: center;
}

.footer__logo-img {
    height: 8rem;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer__text-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer__description {
    color: #B0B0B0;
    line-height: 1.7;
    font-size: var(--normal-font-size);
    max-width: 500px;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all var(--transition-medium);
}

.footer__social-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* ===== SEÇÃO DE COPYRIGHT ===== */
.footer__copyright-section {
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.footer__copyright-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copyright {
    color: #B0B0B0;
    font-size: var(--small-font-size);
}

.footer__legal {
    display: flex;
    gap: 2rem;
}

.footer__legal-link {
    color: #B0B0B0;
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: var(--small-font-size);
}

.footer__legal-link:hover {
    color: var(--primary-color);
}

/* ===== RESPONSIVIDADE ===== */

/* Tablets */
@media screen and (max-width: 1024px) {
    .footer__top-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer__bottom-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer__logo-section {
        justify-content: center;
    }
    
    .footer__text-section {
        align-items: center;
        text-align: center;
    }
    
    .footer__description {
        max-width: 100%;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .footer {
        padding: 3rem 0 1rem;
    }
    
    .footer__top-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer__top {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }
    
    .footer__bottom {
        margin-bottom: 1.5rem;
    }
    
    .footer__bottom-content {
        gap: 1.5rem;
    }
    
    .footer__logo-img {
        height: 6rem;
    }
    
    .footer__copyright-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer__legal {
        gap: 1rem;
    }
}

/* Mobile pequeno */
@media screen and (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer__top-content {
        gap: 1.5rem;
    }
    
    .footer__bottom-content {
        gap: 1rem;
    }
    
    .footer__logo-img {
        height: 5rem;
    }
    
    .footer__social {
        justify-content: center;
    }
    
    .footer__legal {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ===== ANIMAÇÕES E EFEITOS ===== */
.footer__section {
    animation: fadeInUp 0.6s ease-out;
}

.footer__section:nth-child(1) {
    animation-delay: 0.1s;
}

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

.footer__section:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efeito hover nos links */
.footer__link {
    position: relative;
    transition: all var(--transition-medium);
}

.footer__link::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-medium);
}

.footer__link:hover::before {
    width: 10px;
}

/* Efeito hover nos itens de contato */
.footer__contact-item {
    transition: all var(--transition-medium);
    padding: 0.5rem 0;
    border-radius: var(--border-radius-small);
}

.footer__contact-item:hover {
    background: rgba(30, 127, 255, 0.1);
    padding-left: 1rem;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    z-index: var(--z-tooltip);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

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

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

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.testimonial__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 50%;
}
