/* ===== RESET E VARIÁVEIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-dark: #0f1922;
    --gold: #d4b896;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --text-gray: #666666;
    
    --font-primary: 'Cormorant Garamond', serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.9s forwards;
    opacity: 0;
}

/* ===== HEADER E NAVEGAÇÃO ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--navy-dark);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideInLeft 0.8s ease-out;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

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

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--gold);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    margin: 3px 0;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-dark);
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 1;
    animation: fadeInScale 1.5s ease-out;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.95) 0%, rgba(42, 63, 95, 0.9) 100%);
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(26, 35, 50, 1) 0%, transparent 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--light-gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    transition: var(--transition);
    border-radius: 50%;
}

.social-btn:hover::before {
    transform: scale(1);
}

.social-btn svg {
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 1;
}

.social-btn.whatsapp {
    background: var(--gold);
    color: var(--navy-dark);
    animation: float 3s ease-in-out infinite;
}

.social-btn.whatsapp:hover {
    background: var(--navy-dark);
    color: var(--gold);
    border: 2px solid var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 184, 150, 0.4);
}

.social-btn.instagram {
    background: var(--navy-dark);
    color: var(--gold);
    border: 2px solid var(--gold);
    animation: float 3s ease-in-out 0.5s infinite;
}

.social-btn.instagram:hover {
    background: var(--gold);
    color: var(--navy-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 184, 150, 0.4);
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-dark);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 184, 150, 0.3);
}

.btn-secondary {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

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

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    gap: 0.5rem;
}

.btn-whatsapp svg {
    width: 24px;
    height: 24px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* ===== SEÇÕES GERAIS ===== */
section {
    padding: 80px 20px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 1rem;
}

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

.title-divider {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin-bottom: 2rem;
    position: relative;
}

.title-divider::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--navy-dark);
    animation: dividerGrow 1.5s ease-out forwards;
}

@keyframes dividerGrow {
    to {
        width: 100%;
    }
}

.title-divider.center {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 3rem;
}

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

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

.sobre-text p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    font-size: 1.05rem;
    text-align: justify;
}

.sobre-image {
    position: relative;
    min-height: 400px;
}

.image-frame {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--gold) 100%);
    opacity: 0.1;
    border-radius: 10px;
    animation: pulse 4s ease-in-out infinite;
}

/* ===== ÁREAS DE ATUAÇÃO AJUSTADO ===== */
.areas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Centraliza o 4º e 5º card na linha de baixo */
    margin-top: 40px;
}

.area-card {
    background: #fff;
    flex: 0 1 calc(33.333% - 20px); /* Tenta manter 3 por linha no desktop */
    min-width: 280px; /* Impede que fiquem esmagados */
    padding: 40px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

/* Seus efeitos de Hover */
.area-card:hover {
    border-color: #d1d1d1;
    transform: translateY(-5px);
}

.area-icon {
    width: 60px;
    height: 60px;
    background: var(--navy-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.area-card:hover .area-icon {
    background: var(--gold);
    transform: rotate(360deg);
}

.area-icon svg {
    width: 30px;
    height: 30px;
    color: var(--gold);
    transition: var(--transition);
}

.area-card:hover .area-icon svg {
    color: var(--navy-dark);
}

/* Estilo da Lista (Alinhada para melhor leitura) */
.area-list {
    list-style: none;
    padding: 0;
    width: 100%;
}

.area-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-gray);
    text-align: left;
    transition: var(--transition);
}

.area-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Responsividade */
@media (max-width: 992px) {
    .area-card {
        flex: 0 1 calc(50% - 20px); /* 2 por linha em tablets */
    }
}

@media (max-width: 600px) {
    .area-card {
        flex: 0 1 100%; /* 1 por linha no celular */
    }
}

/* ===== DIFERENCIAIS ===== */
.diferenciais {
    background: var(--white);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.diferencial-item {
    text-align: center;
    padding: 2rem 1rem;
    transition: var(--transition);
}

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

.diferencial-icon {
    width: 80px;
    height: 80px;
    background: var(--navy-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    position: relative;
}

.diferencial-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--gold);
    transform: scale(0);
    transition: var(--transition);
}

.diferencial-item:hover .diferencial-icon {
    background: var(--gold);
    transform: scale(1.1);
}

.diferencial-item:hover .diferencial-icon::after {
    transform: scale(1.2);
}

.diferencial-icon svg {
    width: 35px;
    height: 35px;
    color: var(--gold);
    transition: var(--transition);
}

.diferencial-item:hover .diferencial-icon svg {
    color: var(--navy-dark);
}

.diferencial-item h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    color: var(--navy-dark);
    margin-bottom: 1rem;
}

.diferencial-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ===== CONTATO ===== */
.contato {
    background: var(--light-gray);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

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

.contato-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: var(--transition);
}

.contato-item:hover {
    transform: translateX(10px);
}

.contato-icon {
    width: 50px;
    height: 50px;
    background: var(--navy-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.contato-item:hover .contato-icon {
    background: var(--gold);
    transform: rotate(360deg);
}

.contato-icon svg {
    width: 24px;
    height: 24px;
    color: var(--gold);
    transition: var(--transition);
}

.contato-item:hover .contato-icon svg {
    color: var(--navy-dark);
}

.contato-item h4 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
}

.contato-item a,
.contato-item p {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.contato-item a:hover {
    color: var(--gold);
}

.contato-cta {
    background: var(--navy-dark);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.contato-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 184, 150, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.contato-cta h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.contato-cta p {
    color: var(--light-gray);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.contato-cta .btn {
    position: relative;
    z-index: 1;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--navy-dark);
    padding: 3rem 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo img {
    height: 80px;
    width: auto;
    transition: var(--transition);
}

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

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

.footer-text p {
    color: var(--light-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    color: var(--gold);
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social-btn svg {
    width: 22px;
    height: 22px;
}

.footer-social-btn.whatsapp {
    background: var(--gold);
    color: var(--navy-dark);
    border: 2px solid var(--navy-dark);
}

.footer-social-btn.whatsapp:hover {
    background: var(--navy-dark);
    color: var(--gold);
    border: 2px solid var(--gold);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(212, 184, 150, 0.4);
}

.footer-social-btn.instagram {
    background: var(--navy-dark);
    color: var(--gold);
    border: 2px solid var(--gold);
}

.footer-social-btn.instagram:hover {
    background: var(--gold);
    color: var(--navy-dark);
    border: 2px solid var(--navy-dark);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(212, 184, 150, 0.4);
}

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

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.depoimento-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.depoimento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 184, 150, 0.1), transparent);
    transition: var(--transition);
}

.depoimento-card:hover::before {
    left: 100%;
}

.depoimento-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.depoimento-stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.star {
    color: var(--gold);
    font-size: 1.2rem;
    animation: fadeIn 0.6s ease-out;
}

.depoimento-texto {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.depoimento-autor {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.depoimento-avatar {
    width: 50px;
    height: 50px;
    background: var(--navy-dark);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.depoimento-nome {
    font-weight: 600;
    color: var(--navy-dark);
    margin: 0;
    font-size: 1rem;
}

.depoimento-area {
    color: var(--gold);
    font-size: 0.85rem;
    margin: 0;
    font-weight: 500;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--navy-dark);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .sobre-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sobre-image {
        min-height: 300px;
    }

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

    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contato-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .logo img {
        height: 50px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .contato-cta {
        padding: 2rem;
    }

    .social-btn {
        width: 50px;
        height: 50px;
    }

    .social-btn svg {
        width: 24px;
        height: 24px;
    }
}
