/* =========================================================
   MAP — Identidade Visual
   Cores: #1a1a1a (grafite) | #E8650A (laranja) | #ffffff
   ========================================================= */

:root {
    --color-dark: #1a1a1a;
    --color-dark-soft: #2a2a2a;
    --color-orange: #E8650A;
    --color-orange-dark: #c5560a;
    --color-orange-soft: #ff7a1f;
    --color-white: #ffffff;
    --color-bg-light: #f7f7f7;
    --color-text: #1a1a1a;
    --color-text-muted: #666666;
    --color-border: #e5e5e5;

    --font-display: 'Archivo Black', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    --container: 1200px;
    --radius: 4px;
    --transition: 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.15);
}

/* ============ RESET ============ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============ TIPOGRAFIA ============ */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-dark);
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

.lead {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 640px;
}

.text-orange { color: var(--color-orange); }
.text-white { color: var(--color-white); }

/* ============ LAYOUT ============ */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-dark {
    background: var(--color-dark);
    color: var(--color-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--color-white);
}

.section-light {
    background: var(--color-bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.875rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-orange);
    margin-bottom: 1rem;
}

.section-header .lead {
    margin: 1rem auto 0;
}

/* ============ HEADER ============ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background var(--transition);
}

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

.nav-logo img {
    height: 38px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-white);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-orange);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--color-white);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ============ BOTÕES ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 2rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-orange);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-orange-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-dark);
}

.btn-dark {
    background: var(--color-dark);
    color: var(--color-white);
}

.btn-dark:hover {
    background: var(--color-orange);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--color-white);
}

.btn-whatsapp:hover {
    background: #1eb558;
    transform: translateY(-2px);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-dark);
    color: var(--color-white);
    overflow: hidden;
    padding: 8rem 0 4rem;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 80%;
    height: 100%;
    background-image: url('../img/simbolo-laranja.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    opacity: 0.06;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    color: var(--color-orange);
    display: inline-block;
}

.hero .lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* ============ PAGE HEADER (subpáginas) ============ */
.page-header {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 9rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    background-image: url('../img/simbolo-laranja.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.08;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header .lead {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 auto;
}

/* ============ SERVIÇOS — CARDS ============ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.service-card {
    text-align: center;
}

.service-card .icon {
    width: 56px;
    height: 56px;
    background: rgba(232, 101, 10, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-orange);
    font-size: 1.75rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Service Card dark variant */
.section-dark .service-card {
    background: var(--color-dark-soft);
    border-color: rgba(255, 255, 255, 0.08);
}

.section-dark .service-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* ============ FEATURES / DIFERENCIAIS ============ */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature {
    text-align: center;
}

.feature .num {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--color-orange);
    line-height: 1;
    margin-bottom: 1rem;
}

.feature h4 {
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.section-dark .feature p {
    color: rgba(255, 255, 255, 0.7);
}

/* ============ ABOUT / SOBRE ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    text-align: center;
}
.about-grid > div > .lead,
.about-grid > div > p {
    margin-left: auto;
    margin-right: auto;
}

.about-image {
    background: var(--color-dark);
    aspect-ratio: 4/5;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/simbolo-laranja.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
    opacity: 0.15;
}

.about-image img {
    position: relative;
    z-index: 2;
    max-width: 80%;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    padding: 2rem;
    background: var(--color-white);
    border-top: 4px solid var(--color-orange);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.value-card h4 {
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.value-card p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ============ CTA BLOCK ============ */
.cta-block {
    background: var(--color-orange);
    color: var(--color-white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-block::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background-image: url('../img/simbolo-branco.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.1;
}

.cta-block h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-block p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-block .btn {
    background: var(--color-white);
    color: var(--color-orange);
}

.cta-block .btn:hover {
    background: var(--color-dark);
    color: var(--color-white);
}

/* ============ CONTATO ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-info-item .icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--color-orange);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.25rem;
}

.contact-info-item h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-info-item p,
.contact-info-item a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.contact-info-item a:hover {
    color: var(--color-orange);
}

/* Form */
.contact-form {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color var(--transition);
    background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-orange);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-feedback {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    display: none;
}

.form-feedback.success {
    display: block;
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.form-feedback.error {
    display: block;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* ============ FOOTER ============ */
.site-footer {
    background: #0d0d0d;
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 50px;
    width: auto;
    margin-bottom: 1.25rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-col h5 {
    font-family: var(--font-display);
    color: var(--color-white);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--color-orange);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.75rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
    animation: float 3s ease-in-out infinite;
}

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

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

/* ============ ANIMAÇÕES SCROLL ============ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============ RESPONSIVO ============ */
@media (max-width: 968px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        max-width: 480px;
        margin: 0 auto;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Tipografia responsiva — reduz tamanhos no mobile */
    h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
    h2 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
    h3 { font-size: clamp(1.2rem, 5vw, 1.7rem); }

    .lead {
        font-size: 1rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-dark);
        flex-direction: column;
        gap: 0;
        padding: 2rem 1.5rem;
        transform: translateX(-100%);
        transition: transform var(--transition);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        height: calc(100vh - 70px);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-menu .btn {
        margin-top: 1rem;
        width: 100%;
    }

    .hero {
        min-height: 100vh;
        min-height: 100svh;
        padding: 5rem 0 4rem;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero .lead {
        font-size: 1.05rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    /* "ROLE PARA DESCOBRIR" sai do absolute pra não sobrepor o botão */
    .hero-scroll {
        position: static;
        transform: none;
        margin: 2rem auto 0;
        text-align: center;
        display: block;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .page-header {
        padding: 6rem 0 3rem;
    }

    .page-header h1 {
        font-size: clamp(1.8rem, 7vw, 2.6rem);
    }

    /* Cards detalhados de serviços (servicos.html) */
    .service-detail {
        text-align: left;
        padding: 1.5rem 0 !important;
    }

    .service-detail .num-big {
        font-size: 2.5rem !important;
    }

    .service-detail h3 {
        font-size: 1.3rem;
    }

    /* CTA block */
    .cta-block {
        padding: 3rem 0;
    }
    .cta-block h2 {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }

    /* Banner destaque na home */
    .home-destaque-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    .home-destaque-grid .btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .contact-form {
        padding: 1.75rem 1.25rem;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
        bottom: 16px;
        right: 16px;
    }
}
