:root {
    --terracota: #E07A5F;
    --bege: #F4F1DE;
    --verde: #81B29A;
    --azul-escuro: #3D405B;
    --marrom-claro: #D4A59A;
}

body { 
    background-color: var(--bege);
    color: var(--azul-escuro);
}

header {
    background-color: #fff;
    border-bottom: 1px solid var(--marrom-claro);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#navLogo {
    height: 4rem;
    width: auto;
}

/* Estilos da lista de navegação */
#navList {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Estilo do botão CTA */
.cta-button {
    background-color: #65b465;
    color: white !important;
    padding: 0.6rem 1.8rem; /* Aumentei o padding */
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none !important;
    box-shadow: 0 2px 5px rgba(224, 122, 95, 0.3);
    margin-left: 0.5rem; /* Espaço extra à esquerda */
    line-height: 1.5; /* Melhora o alinhamento vertical */
    border: 2px solid transparent; /* Para não mover no hover */
}

/* Efeitos de hover */
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(224, 122, 95, 0.4);
}


.navItem a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.8rem 0.5rem; /* Aumentei o padding vertical */
    position: relative;
    display: inline-block;
    line-height: 1.5;
}

.navItem:last-child {
    margin-left: 0.5rem; /* Espaço extra antes do botão */
}


.navItem a:hover,
.navItem a:focus {
    color: var(--terracota);
}

/* Estilo do botão mobile (inicialmente escondido) */
#mobileMenuBtn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

/* Container do botão mobile + menu hambúrguer */
.mobile-cta-container {
    align-items: center;
    gap: 1rem;
}

/* Botão CTA (versão mobile) */
.cta-button.mobile-only {
    display: none; /* Só aparece no mobile */
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Seção Sobre Mim */
.about-section {
    padding: 4rem 2rem;
    background-color: #F9F9F9; /* Cor de fundo suave */
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover;
    aspect-ratio: 4/5; /* Proporção da foto (ajuste conforme necessário) */
}

.about-text {
    flex: 1.5;
}

.about-text h2 {
    color: var(--terracota); /* Cor do título */
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-list {
    margin-top: 1.5rem;
    padding-left: 1.2rem;
}

.about-list li {
    margin-bottom: 0.8rem;
    color: #5E5E5E;
}

/* Seção de Serviços */
.services-section {
    padding: 4rem 2rem;
    background-color: var(--bege);
}

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

.services-section h2 {
    color: var(--terracota);
    text-align: center;
    font-size: 2.2rem
}

.services-subtitle {
    color: var(--azul-escuro);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

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

.service-card {
    text-align: center;
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--terracota);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-list {
    padding-left: 1.2rem;
    margin-top: 0.5rem;
}

.service-list li {
    list-style-type: none;
    margin-bottom: 0.5rem;
    color: var(--azul-escuro);
    position: relative;
    padding-left: 1rem;
}

.service-list li::before {
    content: "•";
    color: var(--terracota);
    position: absolute;
    left: 0;
}

/* Galeria de Fotos */
.gallery-section {
    padding: 4rem 2rem;
    background-color: white;
}

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

.gallery-section h2{
    font-size: 2.2rem;
    color: var(--terracota);
    text-align: center;
}

.gallery-subtitle {
    color: var(--azul-escuro);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

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

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Slideshow Container */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slideshow-container:hover .slideshow-nav {
    opacity: 1;
}

.slideshow-prev {
    left: 10px;
}

.slideshow-next {
    right: 10px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}


/* Controles do slideshow (opcional) */
.slideshow-controls {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.slideshow-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slideshow-dot.active {
    background-color: var(--terracota);
}

.overlay {
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to bottom, var(--terracota), transparent);
    color: white;
    z-index: 2;
    box-sizing: border-box;
}

.overlay p {
    color: white;
    margin: 0;
    font-weight: 500;
}

/* Efeitos de Hover */
.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item:hover .overlay {
    bottom: 0;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===== SEÇÃO DE AVALIAÇÕES ===== */
.testimonials-section {
    padding: 4rem 2rem;
    background-color: #F9F9F9;
}

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

.testimonials-section h2 {
    color: var(--terracota);
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.testimonials-subtitle {
    color: var(--azul-escuro);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

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

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.testimonial-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: rgba(224, 122, 95, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text p {
    color: var(--azul-escuro);
    font-style: italic;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    border-top: 1px solid rgba(212, 165, 154, 0.3);
    padding-top: 1.5rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--terracota);
    margin-bottom: 0.3rem;
}

.author-details {
    font-size: 0.9rem;
    color: var(--marrom-claro);
}



/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--azul-escuro);
    color: var(--bege);
    padding: 4rem 2rem;
    border-top: 1px solid var(--marrom-claro);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-section {
    align-items: center;
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: var(--terracota);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--terracota);
    border-radius: 3px;
}

.footer-links {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links li {
    
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.footer-links li::before {

    color: var(--terracota);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.footer-links a {
    color: var(--bege);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.2rem 0;
}

.footer-links a:hover {
    color: var(--terracota);
    transform: translateX(5px);
}

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

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(244, 241, 222, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--terracota);
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(224, 122, 95, 0.3);
}

.social-icons img {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(244, 241, 222, 0.2);
    display: flex;
    justify-content: space-between;
    color: var(--marrom-claro);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--bege);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--terracota);
}


/* Responsivo - Tablet */
@media (max-width: 900px) {
    .about-container {
        gap: 2rem;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Estilos para mobile */
@media (max-width: 768px) {
    #navbar {
        padding: 1rem;
        justify-content: space-between;
    }
    
    #mobileMenuBtn {
        display: block;
        z-index: 1001;
    }
    
    #mobileMenuBtn[aria-expanded="true"] .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    #mobileMenuBtn[aria-expanded="true"] .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    #mobileMenuBtn[aria-expanded="true"] .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .mobile-cta-container {
        display: flex;
    }
    
    .cta-button.mobile-only {
        display: inline-block;
        width: auto; /* Ou min-width: 100px */
        padding: 0.5rem 1.5vw; /* Adaptável à largura da tela */
    }
    
    /* Opcional: Esconde o CTA da lista no mobile */
    #navList .cta-button {
        display: none;
    }
    
    #navList {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #fff;
        padding: 5rem 1rem 2rem; /* Ajuste do padding */
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
        gap: 0; /* Removemos o gap para controle manual */
        align-items: stretch; /* Itens ocupam toda a largura */
        justify-content: flex-start; /* Alinha itens no topo */
    }
    
    #navList.active {
        display: flex;
    }

    .navItem {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0; /* Espaçamento vertical entre itens */
    }
    
    .navItem a {
        font-size: 1.2rem;
        padding: 1rem;
        display: block;
        color: var(--azul-escuro);
        border-bottom: 1px solid rgba(0,0,0,0.05);
        margin: 0 1rem; /* Margem lateral para não colar nas bordas */
    }
    
    .navItem:last-child a {
        border-bottom: none;
    }
    
    #navList .cta-button {
        color: white !important;
        margin: 1.5rem auto 0;
        padding: 1rem;
        font-size: 1.1rem;
        border-radius: 50px;
        width: 80%;
        max-width: 250px;
        display: block;
        border: none;
        text-align: center;
    }

    .navItem:last-child a {
        border-bottom: none;
    }

    /* Seção Sobre Mim */
    .about-section {
        padding: 2rem 1rem;
    }
    
    .about-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-image {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .about-image img {
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-list {
        text-align: left;
        padding-left: 1.5rem;
    }

    /* Galeria */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .slideshow-container {
        aspect-ratio: 4/3;
    }
    
    .overlay {
        padding: 0.8rem;
        background: linear-gradient(to bottom, var(--terracota), transparent);
    }
    
    .overlay p {
        font-size: 0.9rem;
        margin: 0.3rem 0;
    }
    
    .slideshow-nav {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
        opacity: 0.7; /* Visível por padrão no mobile */
    }
    
    .slideshow-controls {
        bottom: 5px;
    }
    
    .slideshow-dot {
        width: 8px;
        height: 8px;
    }

    .testimonials-section {
        padding: 3rem 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }

    .site-footer {
        padding: 3rem 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-section {
        align-items: center;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links li {
        text-align: center;
        padding-left: 0;
    }
    
    .footer-links li::before {
        display: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
}

@media (max-width: 480px) {
    #navbar {
        padding: 0.5rem 1rem; /* Reduz padding */
    }
    
    .mobile-cta-container {
        gap: 0.5rem; /* Espaço menor entre botões */
    }
    
    .cta-button.mobile-only {
        padding: 0.4rem 0.8rem; /* Botão mais compacto */
        font-size: 0.8rem;
    }
    
    #navLogo {
        width: 120px; /* Logo menor */
    }
}