:root {
    --primary-color: #b57d53;
    --dark-color: #4A403A;
    --light-gray-color: #f4f4f4;
    --white-color: #ffffff;
    --font-primary: 'Lora', serif;
    --font-secondary: 'Montserrat', sans-serif;
    --text-color: #333;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 2rem;
}

h1, h2, h3 {
    font-family: var(--font-primary);
    color: var(--dark-color);
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* --- CABEÇALHO --- */
header {
    background: var(--white-color);
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

header .logo a {
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    position: relative;
    padding-left: 1.8rem;
    display: inline-block; 
}

header .logo a::before {
    content: "Ψ"; 
    font-family: 'Times New Roman', serif; 
    font-weight: normal; 
    font-size: 2rem;
    color: var(--primary-color);

    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 1.5rem;
}

header nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

.menu-toggle,
.close-menu-button {
    display: none;
}

/* --- SEÇÃO HERO --- */
#hero {
    background: var(--light-gray-color);
    padding: 4rem 0 8rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--primary-color);
}

.hero-text p {
    margin: 1rem 0 2rem 0;
    font-size: 1.1rem;
}

.cta-button {
    background: var(--primary-color);
    color: var(--white-color) !important;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition:  0.7s ease;
}

.cta-button:hover {
    box-shadow: 0 0 20px var(--primary-color);
    transform: translateY(-4px);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    box-shadow: 0 4px 8px #333;
    height: 600px;
    border-radius: 20px;
}

/* --- SEÇÃO SOBRE --- */
#sobre {
    background: linear-gradient( to bottom, rgba(6, 19, 19, 0.336),var(--dark-color) 99% ), 
    url(/img/Caroll3.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 42%;
    padding: 4rem 0;
    text-align: center;
}

#sobre h2 {
    color: var(--white-color);
    font-weight: bold;
}

#sobre p {
    margin-bottom: 1rem;
    font-weight: bold;
    color: var(--white-color);
}

/* --- SEÇÃO ESPECIALIDADES --- */
#especialidades {
    background: var(--dark-color);
    padding: 6rem 0;
    color: var(--white-color);
}

#especialidades h2 {
    color: var(--white-color);
}

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

.card {
    background: #4A403A;
    box-shadow: #b57d53 0 0 4px;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-14px);
    box-shadow: #b57d53 0 0 6px;
}

.card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card h3 {
    color: var(--white-color);
    margin-bottom: 0.5rem;
}

/* --- SEÇÃO NÚMEROS DE IMPACTO --- */
#numeros-impacto {
    padding: 6rem 0;
    background-color: var(--light-gray-color);
}

#numeros-impacto h2 {
    color: var(--dark-color);
    margin-bottom: 3rem;
}

.numeros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.numero-foco {
    background: var(--white-color);
    padding: 2rem 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.numero-foco:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.numero-foco h3 {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.numero-foco span {
    display: block;
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.depoimentos-container {
    margin-top: 5rem;
    text-align: center;
}

.depoimentos-container h2 {
    color: var(--dark-color);
    margin-bottom: 3rem;
    font-size: 2rem;
}

.depoimento-card {
    background-color: var(--white-color);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    position: relative;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.depoimento-card p {
    font-family: var(--font-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.depoimento-card .quote-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    opacity: 0.2;
    transform: rotate(180deg);
}

.depoimento-card .depoimento-autor {
    display: block;
    text-align: right;
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
}

/* --- SEÇÃO FAQ --- */
#faq {
    padding: 4rem 0;
}

.faq-content .boldFaq {
    font-weight: bold;
    color: #b57d53;
}

#faq .container {
    max-width: 800px;
}

details {
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
}

summary {
    cursor: pointer;
    font-weight: bold;
    list-style: none;
    position: relative;
    padding-right: 1.5rem;
}

summary::after {
    content: '▶';
    position: absolute;
    right: 0;
    transition: transform 0.3s;
}

details[open] summary::after {
    transform: rotate(90deg);
}

details p {
    margin-top: 1rem;
}

/* --- RODAPÉ --- */
footer {
    background: var(--dark-color);
    color: var(--white-color);
    padding-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-info, .location {
    flex: 1;
    min-width: 300px;
}

footer h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

footer p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

footer p i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.contact-info a:not(.cta-button) {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.contact-info a:not(.cta-button):hover {
    color: var(--primary-color);
}

footer .cta-button {
    margin-top: 1rem;
}

footer iframe {
    border-radius: 5px;
    margin-top: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-around;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid #b57d53;
}

.footer-bottom a {
    text-decoration: none;
    color: #fffefe;
    font-weight: bold;
    text-shadow: 0 0 9px #00ffff;
    animation: pulseShadow 1.5s infinite ease-in-out;
}

@keyframes pulseShadow {
    0%, 100% {
        text-shadow: 0 0 6px #00ffff, 0 0 12px #00ffff;
    }
    50% {
        text-shadow: 0 0 16px #00ffff, 0 0 10px #00ffff;
    }
}

/* --- ESTILOS PARA ANIMAÇÕES COM JS --- */
.hero-text > *, .hero-image {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-text > *.visible, .hero-image.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

#faq details .faq-content {
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    max-height: 0;
}

/* --- RESPONSIVIDADE --- */
@media(max-width: 768px) {

@media (max-width: 768px) {
    header .logo a {
        font-size: 1.5rem;
        padding-left: 1.5rem; 
    }

    header .logo a::before {
        font-size: 1.8rem;
    }
}


.main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--dark-color);
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 1001;
    padding-top: 60px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.main-nav.nav-open {
    transform: translateX(0);
}

.close-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--white-color);
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1002;
}

.main-nav.nav-open .close-menu-button {
    display: block;
}

.menu-toggle {
    display: block;
    z-index: 1003;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

.main-nav ul {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0;
    margin: 0;
}

.main-nav ul li {
    margin: 1.5rem 0;
    width: 100%;
    text-align: center;
}

.main-nav ul li a {
    color: var(--white-color);
    font-size: 1.2rem;
    display: block;
    padding: 10px; 
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}
    
    h2 {
        font-size: 2rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-image img {
    max-width: 100%;
    height: 460px;
    }

    #sobre {
        padding: 3rem 0;
        background-position: center 30%;
    }

    #sobre h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    #sobre p {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    #sobre .container {
        padding: 0 1.5rem;
    }

    #numeros-impacto {
        padding: 4rem 0;
    }

    .numeros-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 300px;
        margin: 0 auto;
    }

    .numero-foco {
        padding: 1.5rem 1rem;
    }

    .numero-foco h3 {
        font-size: 1rem;
    }

    .numero-foco span {
        font-size: 2.5rem;
    }

    .depoimentos-container {
        margin-top: 4rem;
    }

    .depoimentos-container h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .depoimento-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }

    .depoimento-card p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .depoimento-card .quote-icon {
        font-size: 2rem;
        top: 1rem;
        left: 1rem;
    }

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

.footer-bottom p:last-child {
    padding-top: 15px;
    margin-left: 0;
}

.footer-bottom p a {
    display: block;
    text-align: center;
}
}