/* Estilos Gerais */
:root {
    --primary-color: #0066CC;
    --secondary-color: #F9A826;
    --dark-blue: #0057A0;
    --light-blue: #F0F8FF;
    --whatsapp-color: #25D366;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #666666;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-family: "DM Sans", sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    line-height: 1.2;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--dark-blue);
}

ul {
    list-style: none;
}

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

section {
    padding: 80px 0;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.1rem;
}

.button, .cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--secondary-color);
    color: #011332;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.button:hover, .cta-button:hover {
    background-color: #e89718;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--white);
}

.cta-secondary {
    text-align: center;
    margin-top: 40px;
}

/* Header e Navegação */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 5px 0;
    transition: var(--transition);
}

#header.scrolled {
    padding: 10px 0;
}

#header .container {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
}

#header nav {
    flex: 1;                       /* ocupa tudo entre logo e borda      */
    display: flex;
    align-items: center;
    justify-content: space-between;/* menu à esquerda / contatos à direita */
}

.logo {
    margin-right: 0; 
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
}

.logo img {
    height: 60px;          /* ajuste conforme o layout */
    max-width: 100%;
    display: block;
}

nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    margin-right: 20px;
}

.menu li {
    margin-left: 20px;
}

.menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

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

.menu a:hover::after {
    width: 100%;
}

/* Torna o container do hero flexível para
   alinhar texto à esquerda e imagem à direita */
   #hero .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;            /* garante quebra elegante em telas menores */
}

.hero-content{
    flex: 1 1 500px;            /* cresce até 500 px antes de quebrar */
    max-width: 600px;
}

/* Bloco da imagem */
.hero-image {
    flex: 0 0 450px;     /* ⇒ largura “fixa” maior  (ajuste à vontade) */
    max-width: 450px;
    position: relative;  /* cria um novo contexto de empilhamento      */
    z-index: 1;          /* fica acima do overlay                       */
    margin-left: 40px;   /* espaço opcional entre texto e imagem        */
}

.hero-image img{
    width: 100%;
    aspect-ratio: 1 / 1; /* mantém quadradinho mesmo quando cresce      */
    border-radius: 12px;
    box-shadow: var(--shadow);
    object-fit: cover;
}

/* Esconde a imagem em dispositivos pequenos para não “apertar” o texto */
@media (max-width: 768px){
    .hero-image{ display:none; }
}

.contact-info {
    margin-left: 0; 
}

.contact-info a {
    margin-left: 15px;
    font-weight: 500;
}

.contact-info .phone {
    color: var(--primary-color);
}

.contact-info .whatsapp {
    color: var(--whatsapp-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 2px 0;
    transition: var(--transition);
}

/* Seção Herói */
#hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('images/usina-solar.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 70px;
}

#hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 87, 160, 0.8), rgba(0, 102, 204, 0.7));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-content .cta-button {
    font-size: 1.1rem;
    padding: 15px 30px;
    margin-bottom: 20px;
}

.support-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

/* Seção Benefícios */
#benefits {
    background-color: var(--white);
}

#benefits h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition);
    text-align: center;
}

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

.benefit-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.benefit-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Seção Como Funciona */
#how-it-works {
    background-color: var(--light-blue);
}

#how-it-works h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.steps-container {
    max-width: 900px;
    margin: 50px auto 0;
}

.step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 70px;
    left: 25px;
    width: 2px;
    height: calc(100% - 50px);
    background-color: var(--primary-color);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 30px;
    flex-shrink: 0;
    z-index: 1;
}

.step-content {
    flex: 1;
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.step-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Seção Sobre */
#about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    height: 400px;
    background-image: url('images/solar-capital.webp');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-highlights {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.highlight {
    text-align: center;
    padding: 20px;
}

.highlight-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.highlight-text {
    font-size: 1rem;
    color: var(--dark-gray);
}

/* Seção Depoimentos */
#testimonials {
    background-color: var(--light-blue);
}

#testimonials h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonial-item {
    padding: 20px;
}

.testimonial-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial-text {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text i {
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: -10px;
}

.testimonial-text p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    background-color: var(--medium-gray);
    background-size: cover;
    background-position: center;
}

.testimonial-item:nth-child(1) .author-image {
    background-image: url('images/client1.jpg');
}

.testimonial-item:nth-child(2) .author-image {
    background-image: url('images/client2.jpg');
}

.testimonial-item:nth-child(3) .author-image {
    background-image: url('images/client3.jpg');
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.rating {
    color: var(--secondary-color);
}

.testimonial-cta {
    text-align: center;
    margin-top: 40px;
}

/* Seção FAQ */
#faq {
    background-color: var(--light-blue);
}

#faq h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background-color: var(--white);
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.faq-question h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.faq-toggle {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    background-color: var(--white);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-answer p {
    padding: 20px;
    margin: 0;
}

.faq-item.active .faq-question {
    background-color: var(--primary-color);
    color: var(--white);
}

.faq-item.active .faq-question h3,
.faq-item.active .faq-question h3 i,
.faq-item.active .faq-toggle {
    color: var(--white);
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
}

.faq-more {
    text-align: center;
    margin-top: 30px;
}

/* ===== Estrutura geral ===== */
.simulator{
    background:#f7f9ff;
    padding:80px 0;
}

.sim-card{
    max-width:720px;
    margin:0 auto;
    background:#fff;
    border-radius:16px;
    padding:40px 32px 48px;
    box-shadow:0 6px 24px rgba(0,0,0,0.06);
    text-align:center;
}

.sim-title{
    font-size:2rem;
    margin-bottom:8px;
    color:#003c8f;          /* azul principal */
}

.sim-subtitle{
    font-size:1rem;
    color:#555;
    margin-bottom:32px;
    line-height:1.5;
}

/* ===== Grid de controles ===== */
.sim-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:24px 32px;
    align-items:end;
    margin-bottom:40px;
}

.sim-label{
    display:flex;
    flex-direction:column;
    font-weight:600;
    font-size:0.95rem;
    color:#0050a8;
}

.sim-label input[type="number"]{
    margin-top:10px;
    padding:14px 16px;
    border:1px solid #c9d4e5;
    border-radius:10px;
    font-size:1rem;
    font-weight:500;
}

/* wrapper para alinhar texto/slider */
.slider-wrapper span{
    margin-bottom:10px;
    display:block;
}

/* ===== Resultados ===== */
.sim-results p{
    font-size:1.15rem;
    margin:10px 0;
    color:#003c8f;
}

.sim-results span{
    font-weight:700;
    color:#ff9a00;
}

/* ===== Responsivo ===== */
@media (min-width: 768px){
    /* 1ª coluna fixa (campo numérico), 2ª flexível (slider) */
    .sim-grid{
        grid-template-columns: 160px 1fr;   /* ajuste 160-240 px se quiser */
        gap: 24px 32px;                      /* mantém respiro horizontal   */
    }

    /* garante que o input preencha só sua coluna fixa        */
    .sim-label input[type="number"]{
        width: 100%;
    }

    /* slider já ocupa 100 % da coluna flex, nada mais a mudar */
}

/* ===== Mobile: slider confortável e 100 % largura ===== */
@media (max-width: 767px){
    /* faixa mais grossa */
    .slider-wrapper input[type="range"]{
        width:100%;          /* ocupa toda a coluna */
        height:12px;         /* +50 % de altura     */
    }

    /* thumb maior p/ dedo (Chrome/Safari/Edge) */
    .slider-wrapper input[type="range"]::-webkit-slider-thumb{
        height:32px;
        width:32px;
        border:4px solid #ff9a00;   /* mesmo laranja do CTA */
    }
    /* thumb maior p/ Firefox */
    .slider-wrapper input[type="range"]::-moz-range-thumb{
        height:32px;
        width:32px;
        border:4px solid #ff9a00;
    }

    /* linha horizontal em vez de empilhar */
    .sim-grid{
        display:grid;
        grid-template-columns: 120px 1fr;  /* 120 px + espaço livre */
        gap: 20px;
        align-items:end;
    }

    /* garante que o numérico não passe de 120 px */
    .sim-label:first-child{
        max-width:120px;
    }
    .sim-label:first-child input[type="number"]{
        width:100%;          /* preenche só o contêiner de 120 px */
    }
}

/* layout lado a lado */
.sim-wrapper{
    display:flex;
    gap:48px;
    align-items:center;
}

/* imagem maior — 60 % do espaço */
.sim-image{
    flex:0 0 60%;
    max-width:none;          /* libera largura */
}
.sim-image img{
    width:100%;
    height:auto;
    border-radius:18px;
    box-shadow:0 6px 24px rgba(0,0,0,.08);
    object-fit:cover;
}

/* simulador ocupa o restante (40 %) */
.sim-card{
    flex:1;
    max-width:none;
}

/* responsivo: empilha no mobile */
@media(max-width:768px){
    /* mantém empilhamento */
    .sim-wrapper{
        flex-direction: column;
    }

    /* cartão primeiro */
    .sim-card{
        order: 1;            /* fica no topo */
        width: 100%;         /* já ocupa toda a largura do container */
    }

    /* imagem logo abaixo */
    .sim-image{
        order: 2;            /* vem depois do cartão */
        width: 100%;         /* mesma largura do cartão */
        max-width: none;     /* remove limite anterior */
        margin: 24px 0 0;    /* respiro entre simulador e imagem */
        align-self: stretch; /* garante que se estenda igual ao cartão */
    }
}

/* ===== Slider moderno ===== */
input[type="range"]{
    -webkit-appearance:none;            /* limpa o estilo padrão            */
    width:100%;
    height:8px;
    border-radius:4px;
    background:linear-gradient(
        90deg,
        #ff9a00 0% var(--progress,0%),   /* cor da marca (preenchido)       */
        #c9d4e5 var(--progress,0%) 100%  /* cinza-claro (que falta)         */
    );
    outline:none;
    cursor:pointer;
    transition:background 0.25s ease;
}

/* thumb (WebKit/Chrome/Edge) */
input[type="range"]::-webkit-slider-thumb{
    -webkit-appearance:none;
    height:24px;
    width:24px;
    border-radius:50%;
    background:#ffffff;
    box-shadow:0 0 3px rgba(0,0,0,.25);
    border:3px solid #ff9a00;           /* cor da marca                     */
    transition:transform .15s ease;
}

input[type="range"]:active::-webkit-slider-thumb{
    transform:scale(1.15);              /* feedback ao arrastar             */
}

/* thumb (Firefox) */
input[type="range"]::-moz-range-thumb{
    height:24px;
    width:24px;
    border-radius:50%;
    background:#ffffff;
    box-shadow:0 0 3px rgba(0,0,0,.25);
    border:3px solid #ff9a00;
    transition:transform .15s ease;
}

input[type="range"]:active::-moz-range-thumb{
    transform:scale(1.15);
}

/* remove faixa interna padrão do Firefox */
input[type="range"]::-moz-range-track{
    background:transparent;
}

/* layout side-by-side em telas maiores */
@media (min-width:768px){
    .sim-inputs{
        flex-direction:row;
        justify-content:center;
        align-items:flex-end;
        max-width:none;
    }

    .sim-inputs label{
        width:auto;
        min-width:200px;
    }
}

/* =========================
   SEÇÃO CONTATO – ESTILO
   ========================= */

/* Gradiente de fundo da seção */
#contact{
    background:linear-gradient(135deg,var(--primary-color),var(--dark-blue));
    color:var(--white);
  }
  
  #contact h2{
    text-align:center;
    font-size:2.2rem;
    margin-bottom:20px;
  }
  
  #contact .section-intro{
    color:var(--white);
    opacity:.9;
  }
  
  /* ----- Layout interno ----- */
  .contact-container{
    display:flex;
    gap:40px;
    margin-top:50px;
    flex-wrap:wrap;                 /* empilha no mobile */
    justify-content:center;         /* evita “torto” caso só um dos lados exista */
  }
  
  /* ----- FORMULÁRIO (card branco) ----- */
  .contact-form{
    flex:1;
    max-width:480px;                /* evita esticar demais em telas largas */
    background:#fff;
    padding:2.5rem 2rem;
    border-radius:1rem;
    box-shadow:0 12px 20px rgba(0,0,0,.08);
    font-family:"Segoe UI",Tahoma,sans-serif;
  }
  
  /* ----- GRUPOS DE CAMPO ----- */
  .form-group{
    display:flex;
    flex-direction:column;
    gap:.4rem;
    margin-bottom:1.25rem;
  }
  
  .form-group label{
    color:var(--text-color);
    font-size:.93rem;
    font-weight:600;
  }
  
  /* ----- INPUTS & TEXTAREA ----- */
  .form-group input,
  .form-group textarea{
    width:100%;
    padding:.75rem 1rem;
    border:1px solid var(--medium-gray);
    border-radius:.6rem;
    font-size:.95rem;
    color:#324152;
    transition:border-color .25s,box-shadow .25s;
  }
  
  .form-group input:focus,
  .form-group textarea:focus{
    outline:none;
    border-color:var(--primary-color);
    box-shadow:0 0 0 3px rgba(0,102,204,.12);
  }
  
  /* remove setas do number (Chrome) */
  input[type=number]::-webkit-inner-spin-button,
  input[type=number]::-webkit-outer-spin-button{
    -webkit-appearance:none;
    margin:0;
  }
  
  /* Ajuste de altura do textarea */
  .form-group textarea{
    min-height:110px;
    resize:vertical;
  }
  
  /* ----- BOTÃO ----- */
  .submit-button{
    width:100%;
    padding:.95rem 1.25rem;
    border:none;
    border-radius:.6rem;
    background:linear-gradient(135deg,var(--primary-color),var(--dark-blue));
    color:#fff;
    font-size:1.05rem;
    font-weight:700;
    cursor:pointer;
    transition:transform .2s,box-shadow .2s;
  }
  
  .submit-button:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(0,102,204,.3);
  }
  
  .submit-button:active{
    transform:translateY(0);
    box-shadow:0 4px 10px rgba(0,102,204,.25);
  }
  
  /* ----- NOTA DE PRIVACIDADE ----- */
  .privacy-note{
    margin-top:.9rem;
    font-size:.78rem;
    text-align:center;
    color:#697684;
  }
  
  /* ----- BOX COM INFORMAÇÕES DE CONTATO ----- */
  .contact-info-box{
    flex:1;
    max-width:380px;
    background:rgba(255,255,255,.1);
    padding:30px;
    border-radius:10px;
    backdrop-filter:blur(5px);
  }
  
  .contact-methods{margin-bottom:30px;}
  
  .contact-method{
    display:flex;
    align-items:center;
    margin-bottom:20px;
  }
  
  .contact-method i{
    width:40px;height:40px;
    background:rgba(255,255,255,.2);
    border-radius:50%;
    display:flex;justify-content:center;align-items:center;
    margin-right:15px;
    font-size:1.2rem;
  }
  
  .contact-method h4{margin-bottom:5px;font-size:1.1rem;}
  
  .contact-method a,
  .contact-method p{
    color:var(--white);
    opacity:.9;
    margin:0;
  }
  
  /* ----- CTA final ----- */
  .cta-final{
    font-size:1.2rem;
    text-align:center;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.2);
  }
  
  /* ----- RESPONSIVO ----- */
  @media(max-width:992px){
    .contact-form,
    .contact-info-box{
      max-width:560px;
      width:100%;
    }
  }
  

/* Footer */
footer {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.footer-logo img{
    height: 68px;              /* ajuste conforme precisar */
    display: block;
}

.footer-logo p {
    opacity: 0.7;
}

.footer-links h4,
.footer-social h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white);
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.social-icons {
    display: flex;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    margin: 0;
}

.footer-legal a {
    color: var(--white);
    opacity: 0.7;
    margin-left: 20px;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    opacity: 1;
}

/* Responsividade */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu li {
        margin: 10px 0;
    }
    
    .contact-info {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        margin-left:auto;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .about-highlights {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-content > div {
        width: 100%;
        margin-bottom: 30px;
    }

    .footer-content,
    .footer-bottom{
        flex-direction: column;   /* empilha tudo */
        align-items: center;      /* centraliza horizontalmente */
        text-align: center;       /* centraliza textos */
    }

    .footer-content > *{
        margin: 0 0 25px;         /* espaçamento vertical uniforme */
    }

    .footer-logo img{
        margin: 0 auto 15px;      /* logo centralizada */
    }

    .about-image{
        flex: none;          /* impede que o flex 1 “colapse” na vertical   */
        height: 300px;       /* altura visível; ajuste conforme preferir   */
        width: 100%;         /* ocupa toda a largura                       */
        display: block;      /* segurança extra                            */
    }

    #hero{
        height:auto;        /* deixa crescer conforme o conteúdo          */
        min-height:0;       /* remove o limite de 600 px                  */
        padding:60px 0;     /* mesmo respiro das demais seções            */
    }

    /* imagem do herói centralizada e com espaçamento próprio */
    .hero-image{
        display:block;      /* garante visibilidade                       */
        flex:none;          /* cancela a largura fixa de 450 px           */
        width:100%;
        max-width:320px;    /* ajuste conforme preferir                   */
        margin:30px auto 40px;/* (superior) 30 px / (inferior) 40 px      */
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content .cta-button {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .section-intro {
        font-size: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        margin-top: 15px;
    }
    
    .footer-legal a {
        margin: 0 10px;
    }
}
