/* ===== VARIABLES ===== */
:root {
    --primary-color: #1a3a5f;
    --primary-dark: #0f2538;
    --primary-light: #2a5a8f;
    --secondary-color: #4a90e2;
    --accent-color: #f39c12;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --header-height: 6rem;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

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

.nav__logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
    text-decoration: none;
    height: 100%;
    max-height: var(--header-height);
}

.nav__logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 100%;
    width: auto;
    max-height: calc(var(--header-height) - 0.5rem);
    object-fit: contain;
    transition: var(--transition);
}

.nav__logo:hover .logo-img {
    filter: brightness(1.1);
}

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

.nav__list {
    display: flex;
    column-gap: 2rem;
}

.nav__link {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

.nav__link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav__toggle,
.nav__close {
    display: none;
    cursor: pointer;
    color: var(--primary-color);
}

.icon-menu,
.icon-close {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
    transition: var(--transition);
}

.icon-menu:hover,
.icon-close:hover {
    stroke: var(--primary-dark);
    transform: scale(1.1);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn--primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn--whatsapp {
    background-color: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.btn--whatsapp svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.btn--whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: calc(var(--header-height) + 3rem) 0 5rem;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 58, 95, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content {
    animation: fadeInUp 0.8s ease;
}

.hero__title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero__title .highlight {
    color: var(--primary-color);
    position: relative;
}

.hero__description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__image {
    position: relative;
    animation: fadeInRight 0.8s ease;
}

.hero__shape {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 30px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.hero__shape::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 30px;
    opacity: 0.3;
    z-index: -1;
}

/* ===== SECTION ===== */
.section {
    padding: 5rem 0;
}

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

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section__subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.section__cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===== SOBRE SECTION ===== */
.sobre {
    background-color: var(--white);
}

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

.sobre__text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.sobre__text p {
    margin-bottom: 1.5rem;
}

.sobre__text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.sobre__logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.logo-box__main {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.logo-box__subtitle {
    display: block;
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    opacity: 0.9;
}

/* ===== SERVIÇOS SECTION ===== */
.servicos {
    background-color: var(--white);
}

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

.servico__card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.servico__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.servico__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.servico__icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-color);
    transition: var(--transition);
}

.servico__card:hover .servico__icon svg {
    stroke: var(--secondary-color);
    transform: scale(1.1);
}

.servico__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.servico__description {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== ESPECIALIDADES SECTION ===== */
.especialidades {
    background-color: var(--white);
}

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

.especialidade__card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
}

.especialidade__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--primary-color);
}

.especialidade__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.especialidade__icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--secondary-color);
    transition: var(--transition);
}

.especialidade__card:hover .especialidade__icon svg {
    stroke: var(--primary-color);
    transform: scale(1.1);
}

.especialidade__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.especialidade__description {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== DEPOIMENTOS SECTION ===== */
.depoimentos {
    background-color: var(--white);
}

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

.depoimento__card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.depoimento__card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-weight: 700;
}

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

.depoimento__stars {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.depoimento__text {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.depoimento__author {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.125rem;
}

/* ===== CONTATO SECTION ===== */
.contato {
    background-color: var(--white);
}

.contato__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contato__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contato__item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contato__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contato__icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-color);
    transition: var(--transition);
}

.contato__item:hover .contato__icon svg {
    stroke: var(--secondary-color);
    transform: scale(1.1);
}

.contato__details {
    flex: 1;
}

.contato__label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contato__link {
    color: var(--text-dark);
    transition: var(--transition);
    display: inline-block;
}

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

.contato__text {
    color: var(--text-light);
    line-height: 1.8;
}

.contato__whatsapp {
    margin-top: 1rem;
}

.contato__map-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contato__map-subtitle {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    border-radius: 20px;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

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

.footer__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer__subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer__description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

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

.footer__link {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer__link:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__social-link {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer__social-link:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

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

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

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 968px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        padding: 3rem;
        transition: var(--transition);
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        row-gap: 2rem;
    }

    .nav__toggle,
    .nav__close {
        display: block;
    }

    .nav__close {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__title {
        font-size: 2.25rem;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__shape {
        height: 300px;
    }

    .sobre__content {
        grid-template-columns: 1fr;
    }

    .contato__content {
        grid-template-columns: 1fr;
    }

    .section__title {
        font-size: 2rem;
    }

    .logo-img {
        max-height: calc(var(--header-height) - 0.75rem);
    }
}

@media screen and (max-width: 576px) {
    .hero__title {
        font-size: 1.75rem;
    }

    .hero__description {
        font-size: 1rem;
    }

    .section__title {
        font-size: 1.75rem;
    }

    .servicos__grid,
    .especialidades__grid,
    .depoimentos__grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .logo-img {
        max-height: calc(var(--header-height) - 0.5rem);
    }
}

