:root {
    --brand: #c5a067;
    --brand-700: #a8844f;
    --bg: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --surface: #f9fafb;
    --ok: #10b981;
    --shadow: 0 10px 25px rgba(0,0,0,.08);
    --radius: 16px;
    --gradient: linear-gradient(135deg, var(--brand), #f5e6ce);
    
    /* Font weights for Axiforma */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    --font-black: 900;
}

* { 
    box-sizing: border-box; 
}

html, body { 
    margin: 0; 
    padding: 0; 
    font-family: 'Axiforma', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; 
    color: var(--text); 
    background: var(--bg); 
    scroll-behavior: smooth;
    min-height: 100vh;
}

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

.container { 
    width: min(1120px, 92vw); 
    margin-inline: auto; 
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.animate-on-scroll.animate-left {
    animation: fadeInLeft 0.8s ease forwards;
}

.animate-on-scroll.animate-right {
    animation: fadeInRight 0.8s ease forwards;
}

.animate-on-scroll.animate-scale {
    animation: scaleIn 0.8s ease forwards;
}

/* Botões */
.btn { 
    display: inline-flex; 
    align-items: center; 
    gap: .6rem; 
    padding: .9rem 1.2rem; 
    border-radius: 999px; 
    background: var(--brand); 
    color: #111; 
    font-weight: 600; 
    box-shadow: var(--shadow); 
    transition: transform .2s ease, filter .2s ease; 
    border: none;
    cursor: pointer;
}

.btn:hover { 
    transform: translateY(-2px); 
    filter: brightness(.98); 
    color: #111;
}

.btn.secondary { 
    background: #111; 
    color: #fff; 
}

.btn.secondary:hover {
    color: #fff;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128c7e;
    color: white;
}

/* Header */
header { 
    position: sticky; 
    top: 0; 
    z-index: 50; 
    background: rgba(255,255,255,.95); 
    backdrop-filter: blur(8px); 
    border-bottom: 1px solid #f1f5f9; 
    transition: all 0.3s ease;
}

.nav { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: .9rem 0; 
}

.brand { 
    display: flex; 
    align-items: center; 
    gap: .8rem; 
}

.brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.brand h1 { 
    font-size: 1.05rem; 
    margin: 0; 
    line-height: 1.1; 
    letter-spacing: .3px; 
}

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

.nav-links a { 
    padding: .5rem .8rem; 
    border-radius: 999px; 
    font-weight: 500; 
    color: #374151; 
    transition: background-color 0.3s ease;
}

.nav-links a:hover { 
    background: #f3f4f6; 
}

 /* Hero Section */
 .hero { 
     position: relative; 
     padding: 180px 0 32px; 
     background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
     height: 100vh;
     display: flex;
     align-items: flex-start;
     justify-content: center;
     overflow: hidden;
     z-index: 1;
     transform: none !important;
 }

.hero-inner { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 3rem; 
    align-items: center;
    margin-top: 200px;
    position: relative;
    z-index: 50;
}

.eyebrow { 
    display: inline-block; 
    padding: .35rem .7rem; 
    background: #f3f4f6; 
    border-radius: 999px; 
    font-size: .8rem; 
    font-weight: 600; 
    color: #6b7280; 
}

h2.hero-title { 
    font-size: clamp(2rem, 3vw + 1.5rem, 3.5rem); 
    margin: .7rem 0 .4rem; 
    line-height: 1.15; 
    color: var(--text);
    font-weight: 700;
}

.hero p { 
    color: var(--muted); 
    font-size: 1.1rem; 
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-cta { 
    display: flex; 
    flex-wrap: wrap; 
    gap: .8rem; 
    margin-top: 1.2rem; 
}

.hero-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.3s ease;
}

.hero-image:hover .hero-main-image {
    transform: scale(1.05);
}

/* Logo sobreposto na posição do quadrado vermelho */
.hero-logo-overlay {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    pointer-events: none;
}

.hero-logo-small {
    width: 380px;
    height: auto;
    opacity: 0.9;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.hero-logo-small:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
}

/* Responsividade para o logo sobreposto */
@media (max-width: 768px) {
    .hero-logo-overlay {
        top: 3%;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-logo-small {
        width: 260px;
    }
    
    .hero {
        padding: 180px 0 32px;
    }
    
    .hero-inner {
        margin-top: 80px;
    }
}

@media (max-width: 480px) {
    .hero-logo-overlay {
        top: 4%;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-logo-small {
        width: 180px;
    }
    
    .hero {
        padding: 160px 0 32px;
    }
    
    .hero-inner {
        gap: 2.5rem;
        margin-top: 100px;
    }
}

 /* Seção Sobre */
  #sobre { 
     background: var(--surface);
     padding: 40px 0;
 }

 #sobre .section-title {
     color: #AC8257;
 }

 #diferencial .section-title {
     color: #AC8257;
 }

 #depoimentos .section-title {
     color: #AC8257;
 }

 #servicos {
     background: linear-gradient(90deg, #caac88 0%, #886D47 100%);
 }

 #servicos .section-title {
     color: #FFFFFF;
 }

 #servicos .section-subtitle {
     color: #FFFFFF;
 }

  /* Seção Diferenciais */
 #diferencial {
     background: var(--surface);
 }

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

 .diferencial-image {
     position: relative;
     border-radius: var(--radius);
     overflow: hidden;
     box-shadow: var(--shadow);
 }

 .diferencial-main-image {
     width: 100%;
     height: 500px;
     object-fit: cover;
     border-radius: var(--radius);
     transition: transform 0.3s ease;
 }

 .diferencial-image:hover .diferencial-main-image {
     transform: scale(1.05);
 }

 .diferencial-text {
     padding-left: 2rem;
 }

 .diferencial-header {
     text-align: center;
     margin-bottom: 2rem;
 }

 .diferencial-header .section-title {
     margin-bottom: 1rem;
 }

 .diferencial-header .section-subtitle {
     margin-bottom: 2rem;
 }

 .diferenciais-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 1.5rem;
     margin-top: 2rem;
 }

 .diferencial-item {
     padding: 1.5rem;
     background: white;
     border-radius: var(--radius);
     box-shadow: var(--shadow);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     text-align: center;
 }

 .diferencial-item:hover {
     transform: translateY(-3px);
     box-shadow: 0 15px 35px rgba(0,0,0,.1);
 }

 .diferencial-item h3 {
     font-size: 1.2rem;
     font-weight: 600;
     margin-bottom: 0.8rem;
     color: #AC8257;
 }

 .diferencial-item p {
     color: var(--muted);
     line-height: 1.6;
     margin: 0;
     font-size: 0.95rem;
 }

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

.sobre-text {
    padding-right: 2rem;
}

 .sobre-description {
     font-size: 1.2rem;
     line-height: 1.8;
     color: var(--muted);
     margin-top: 1.5rem;
     text-align: center;
 }

.sobre-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.sobre-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.3s ease;
}

.sobre-image:hover .sobre-main-image {
    transform: scale(1.05);
}

/* Seções */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.02em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards de Serviços */
 .services-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 2rem;
     margin-top: 4rem;
 }

.services-grid-bottom {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* Cards verticais (primeira linha) */
.service-card-vertical {
    display: flex;
    flex-direction: column;
}

/* Cards horizontais (segunda linha) */
.service-card-horizontal {
    display: flex;
    flex-direction: row;
}

 .service-image {
     overflow: hidden;
     flex-shrink: 0;
 }

/* Imagens para cards verticais */
.service-card-vertical .service-image {
    width: 100%;
    height: 220px;
}

/* Imagens para cards horizontais */
.service-card-horizontal .service-image {
    width: 40%;
    height: auto;
    min-height: 200px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    min-height: 200px;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #caac88, #886D47);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.98);
}

 .service-content {
     flex: 1;
     display: flex;
     flex-direction: column;
     justify-content: center;
 }

/* Conteúdo para cards verticais */
.service-card-vertical .service-content {
    padding: 1rem;
}

/* Conteúdo para cards horizontais */
.service-card-horizontal .service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: #AC8257;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.service-description {
    color: var(--muted);
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}



 

 /* Depoimentos */
 .testimonials {
     background: var(--surface);
 }

 .testimonials-container {
  position: relative;
     max-width: 800px;
     margin: 0 auto;
     text-align: center;
     min-height: 300px;
 }

 .testimonial-card {
     background: white;
     border-radius: var(--radius);
     padding: 3rem;
     box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 4px 20px rgba(0, 0, 0, 0.1);
     border-left: 4px solid var(--brand);
     margin: 0 auto;
     max-width: 100%;
     word-wrap: break-word;
     overflow-wrap: break-word;
     opacity: 0;
     transform: translateY(20px);
     transition: all 0.6s ease-out;
     display: none;
 }

 .testimonial-card.active {
     display: block;
     opacity: 1;
     transform: translateY(0);
 }

 .testimonial-text {
     font-style: italic;
     color: var(--text);
     margin-bottom: 2rem;
     line-height: 1.8;
     font-size: 1.1rem;
     text-align: center;
 }

 .testimonial-author {
     font-weight: 600;
     color: var(--brand);
     font-size: 1.1rem;
     margin-bottom: 0.5rem;
 }

 .testimonial-client {
     color: var(--muted);
     font-size: 0.9rem;
     font-weight: 500;
 }

 /* Mapa do Google Maps */
 .map-container {
     height: 100%;
     display: flex;
     align-items: center;
 }

 .map-container iframe {
     box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
     transition: all 0.3s ease;
 }

 .map-container iframe:hover {
     box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
     transform: translateY(-2px);
 }

 /* Botão de agendamento */
 .btn-large {
     font-size: 1.2rem;
     padding: 1.5rem 2rem;
     border-radius: var(--radius);
     font-weight: 600;
     text-decoration: none;
     display: inline-block;
     transition: all 0.3s ease;
     margin-top: 0;
     white-space: normal;
     line-height: 1.4;
     max-width: 100%;
 }

 .btn-large:hover {
     transform: translateY(-3px);
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
 }

 /* Ajuste para o layout da seção de contato */
 #contato .map-container {
     margin-bottom: 3rem;
 }

 #contato .btn-large {
     margin-bottom: 1rem;
 }

 /* Footer */
footer {
    background: #111;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: var(--brand);
    margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-section a:hover {
    color: var(--brand);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Formulário */
.form-control {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(197, 160, 103, 0.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        margin-top: 120px;
    }
    
    .sobre-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .sobre-text {
        padding-right: 0;
    }
    
    .nav-links {
        display: none;
    }
    
    .section {
        padding: 60px 0;
    }
    
    #sobre {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-grid-bottom {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card,
    .service-card-vertical,
    .service-card-horizontal {
        flex-direction: column;
    }
    
    .service-image,
    .service-card-vertical .service-image,
    .service-card-horizontal .service-image {
        width: 100%;
        height: 200px;
    }
    
    .service-content,
    .service-card-vertical .service-content,
    .service-card-horizontal .service-content {
        padding: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-main-image {
        height: 300px;
    }
    
         .sobre-main-image {
         height: 300px;
     }
     
     .diferencial-content {
         grid-template-columns: 1fr;
         gap: 2rem;
         text-align: center;
     }
     
     .diferencial-text {
         padding-left: 0;
     }
     
     .diferencial-header {
         margin-bottom: 1.5rem;
     }
     
     .diferencial-main-image {
         height: 300px;
     }
     
     .diferenciais-grid {
         grid-template-columns: 1fr;
         gap: 1rem;
     }
     
     .diferencial-item {
         padding: 1.2rem;
     }
     

     
     .nav-arrow {
         font-size: 1.5rem;
     }
     
     .testimonials-container {
         max-width: 100%;
         min-height: 250px;
     }
     
     .testimonial-card {
         padding: 2rem;
     }
 }

@media (max-width: 480px) {
    .container {
        width: 95vw;
    }
    
    .hero {
        padding: 140px 0 32px;
    }
    
    .hero-inner {
        gap: 2.5rem;
        margin-top: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        color: #111827;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
        color: #1f2937;
        font-weight: 500;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .section {
        padding: 40px 0;
    }
    
    #sobre {
        padding: 20px 0;
    }
    
    .service-card {
        padding: 0;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .hero-main-image {
        height: 250px;
    }
    
    .sobre-main-image {
        height: 250px;
    }
    
         .sobre-description {
         font-size: 1.1rem;
     }
     
     .diferencial-main-image {
         height: 250px;
     }
     
     .diferencial-item {
         padding: 1rem;
     }
     
     .diferencial-content h3 {
         font-size: 1.1rem;
     }
     

     
     .nav-arrow {
         font-size: 1.2rem;
     }
     
     .testimonial-card {
         padding: 1.5rem;
     }
     
         .testimonials-container {
        min-height: 200px;
    }
    
    /* Regras para smartphones muito pequenos */
    @media (max-width: 360px) {
        .hero-logo-overlay {
            top: 5%;
        }
        
        .hero-logo-small {
            width: 160px;
        }
        
        .hero {
            padding: 140px 0 24px;
        }
        
        .hero-inner {
            gap: 2rem;
            margin-top: 80px;
        }
        
        .hero-title {
            font-size: 1.6rem;
            color: #111827;
            text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
        }
        
        .hero p {
            font-size: 0.95rem;
            color: #1f2937;
            font-weight: 500;
            text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
        }
        
        .btn {
            max-width: 260px;
            padding: 0.8rem 1rem;
            font-size: 0.9rem;
        }
    }
}

 /* Background com imagem mais viva */
 .hero::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: url('../Referencias/WhatsApp Image 2021-04-15 at 16.14.50 (1).webp') center/cover no-repeat;
     opacity: 0.3;
     z-index: -1;
     filter: brightness(1.2) contrast(1.1);
     transform: translateZ(0);
     will-change: transform;
 }

/* Loading animations */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Melhorias para acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--brand);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-700);
}