@charset "UTF-8";

:root {
    --verde:#00b050;
    --azul:#0070c0;
    --vermelho:#e43b3b;
    --preto:#0b0b0b;
    --branco:#ffffff;
    --fundo: #f6f8fb;
    --raio:14px;
    --max-w:1100px;
    --container-pad:24px;
    --glass: rgba(255,255,255,0.75);
    --whatsapp-numero: "5519983242584";

}

/* ===== TEMA ESCURO ===== */
html.dark {
    --fundo: #0f1115;
    --branco: #1a1d22;
    --preto: #f4f4f4;
    --glass: rgba(30,30,30,0.65);

    /* Ajustes de texto */
    --texto: #d9e1e8;
    --texto-muted: #8b97a3;

    /* Sombra mais suave no escuro */
    --shadow: rgba(0,0,0,0.5);
}

/* Aplicar variáveis novas */
body {
    color: var(--texto);
    background: var(--fundo);
}

.page {
    background: var(--branco);
    box-shadow: 0 10px 30px var(--shadow);
}

p.lead,
.muted {
    color: var(--texto-muted);
}

.card {
    background: linear-gradient(180deg,rgba(40,40,40,0.7),var(--branco));
    border: 1px solid rgba(255,255,255,0.04);
}

html.dark nav a {
    color: var(--texto);
}
html.dark nav a:hover {
    color: var(--azul);
}

.theme-btn {
    display: block;
    background: none;
    border: 0;
    font-size: 22px;
    cursor: pointer;
}



html.dark footer {
    border-top: 1px solid white;
}

html.dark div#copyright-text {
    color: var(--texto-muted);
}

html.dark div.title {
    color: var(--texto); /* Branco do modo dark */
}

html.dark .service small {
    color: var(--texto-muted); 
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

html, body {
    height: 100%;
    font-family: 'Inter','system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial';
    color: #12202b; 
}

body {
    background: var(--fundo);
    padding: 20px;
}

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

.page {
    max-width: var(--max-w);
    margin: 28px auto;
    padding: 24px;
    background: var(--branco);
    border-radius: var(--raio);
    box-shadow: 0 10px 30px rgba(15,20,30,0.06);
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 6px;
}

/* Animação no botão de tema */
.theme-btn {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.theme-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}


html.dark .menu-btn { 
    color: white;    
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    width: 180px;
}

nav {
    display: flex;
    gap: 18px;
    align-items: center;
}

nav a {
    font-weight: 600;
    color: rgba(10,20,30,0.85);
    text-decoration: none;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -4px;
    background: linear-gradient(90deg,var(--verde), var(--azul));
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;    
}

nav a:hover {
    color: var(--azul);
    transform: translateY(-2px);
  }

/* opcional: manter barra fixa no item ativo */
nav a.active::after {
    width: 100%;
}
 

.cta {
    padding: 10px 14px;
    border-radius: 10px;
    background: linear-gradient(90deg,var(--vermelho),#ff6b6b);
    color: var(--branco);
    font-weight: 700;    
}

.cta:hover {
    cursor: pointer;
    transform: translateY(-2px);
}

.menu-btn {
    display: none;
    background: none;
    border: 0;
    font-size: 26px;
    cursor: pointer;
}

.hero {
    margin-top: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.hero-visual {
    background: linear-gradient(135deg, var(--azul), var(--verde)); 
    padding: 72px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;  
  }

.hero-copy {
    max-width: 60%;
}

.hero h1 {
    font-size: 36px;
    line-height: 1.05;
    color: var(--branco);
    font-weight: 800;
    margin-bottom: 18px;
}

.hero p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 22px;
}

.btn-primary {
    background: var(--branco);
    color: var(--azul);
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
    border: 0;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    cursor: pointer;    
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.95);
    padding: 10px 14px;
    border-radius: 10px;    
}

.btn-ghost:hover {
    transform: translateY(-2px);
}

.hero-art {
    flex: 1;
}

.section {
    padding: 48px 6px;    
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

h2 {
    color: var(--azul);
    font-size: 24px;
    margin-bottom: 18px;
}

p.lead{
    color: #3b5662;
    text-indent: 50px;
}

#sobre {
    padding: 60px 20px;
    background: var(--branco);
    border-radius: var(--raio);
    box-shadow: 0 10px 30px rgba(15, 20, 30, 0.05);
    max-width: var(--max-w);
    margin: 40px auto;
  }

#sobre h2 {
    font-size: 28px;
    color: var(--azul);
    margin-bottom: 20px;
    font-weight: 700;
}

#sobre p.lead {
    color: #3b5662;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Cards à direita */
#sobre .card {
    background: linear-gradient(180deg, rgba(255,255,255,0.9), var(--branco));
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(20, 30, 40, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px;
    display: flex;
    flex: 1 1 280px;
    max-width: 320px;
    align-items: center;
    gap: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#sobre .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Ícones dos cards */
#sobre .icon {
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Texto dentro dos cards */
#sobre .card strong {
    font-size: 16px;
    color: var(--preto);
}

#sobre strong.texto {
    color: #0070c0;
}

#sobre .muted {
    color: #6b7b86;
    font-size: 14px;
}

/* Grade principal */
#sobre > div {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.card {
    background: linear-gradient(180deg,rgba(255,255,255,0.9),var(--branco));
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(20,30,40,0.4);
    border: 1px solid rgba(10,20,30,0.03);
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.icon {
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;   
    font-size: 26px;
    ;
}

div.card.service div.center div.icon {
    display: block;
    margin: auto;
}

div.title {
    text-align: center;
}

.card center {
    flex-direction: row;
    gap: 12px;
}

#service .card strong.card2 {
    color: red;

}

.services {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;      
}

.service .title {
    font-weight: 700;
    margin-top: 10px;    
}

.service small {
    display: block;
    margin-top: 10px;
    color: var(--texto-muted);
}

/* Animação nos cards de Serviços */
.services .service {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.services .service:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}


/* GRID */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* ITEM */
.portfolio-item {
    overflow: hidden;
    padding: 0;
    position: relative;
}

/* PREVIEW */
.preview-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
.preview-frame {
    width: 100%;
    height: 180px;
    border: none;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.4s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.preview-frame::-webkit-scrollbar {
    display: none;
}
.preview-frame {
    -ms-overflow-style: none;  /* IE e Edge */
    scrollbar-width: none;     /* Firefox */
}

.preview-container:hover .preview-frame {
    transform: scale(1.05);
}

/* OVERLAY */
.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}
.preview-container:hover .overlay {
    opacity: 1;
}

/* BOTÃO "VER SITE" */
.overlay-btn {
    background: linear-gradient(90deg, var(--azul), var(--verde));
    color: var(--branco);
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.overlay-btn:hover {
    transform: scale(1.08);
}

/* INFO */
.portfolio-info {
    text-align: center;
    padding: 10px;
}
.portfolio-info a {
    color: var(--preto);
    text-decoration: none;
    font-weight: 700;
}
.portfolio-info a:hover {
    color: var(--azul);
}

.preview-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease;
}
.preview-container:hover .preview-img {
    transform: scale(1.05);
}

.thumb {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

input,textarea, button {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(10,20,30,0.08);    
}

textarea {
    grid-column: 1/3;
    min-height: 120px;
}

.btn-container {
    grid-column: 1 / 3;
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.btn-enviar {
    background: linear-gradient(90deg, var(--azul), var(--verde));
    color: var(--branco);
    border: 0;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    opacity: 0.3s ease, transform 0.2s ease;
}

.btn-enviar:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.contato-local {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 18px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

.contato-local .card {
    background: linear-gradient(180deg,rgba(255,255,255,0.9), var(--branco));
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(15,20,30,0.05);
}

.mapa iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 12px;
}

.rota-btn {
    margin-top: 12px;
    text-align: right;
}

.btn-rota {
    display: inline-block;
    background: linear-gradient(90deg, var(--azul), var(--verde));
    color: var(--branco);
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, opacity 0.3s ease;
}

.btn-rota:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

footer {
    padding: 22px 6px;
    border-top: 1px solid rgba(10,20,30,0.4);
    margin-top: 18px;
    display: flex;
    justify-content:space-between;
    align-items: center;
}

/* ==== ANIMAÇÃO HERO ==== */

.hero-visual .hero-copy > * {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFade 0.8s ease forwards;
}

.hero-visual .hero-copy h1 {
    animation-delay: 0.2s;
}

.hero-visual .hero-copy p {
    animation-delay: 0.45s;
}

.hero-visual .hero-copy div {
    animation-delay: 0.7s;
}

@keyframes heroFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==== ANIMAÇÕES AO ROLAR ==== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

