/* ============================================================
   Infocopi — CSS puro (versão PHP)
   Tipografia: Outfit (títulos) + Inter (texto)
   Cores: primária #416BD7 | navy #101840 | texto #1a1a1c/#56585e
   ============================================================ */

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/Outfit-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/Outfit-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/Inter-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/Inter-500.woff2') format('woff2');
}

:root {
    --primary: #416bd7;
    --primary-hover: #2f54b5;
    --navy: #101840;
    --navy-2: #0d141a;
    --text: #1a1a1c;
    --muted: #56585e;
    --light: #eceff3;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(16, 24, 64, 0.12);
    --container: 1240px;
    --font-head: 'Outfit', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: var(--text); }

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

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-weight: 600; font-size: 15px;
    padding: 14px 28px; border-radius: 999px; border: none; cursor: pointer;
    text-align: center; transition: background-color .2s ease, transform .15s ease;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-hover); color: var(--white); transform: translateY(-1px); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--light); color: var(--navy); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: rgba(255, 255, 255, .15); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--white);
    box-shadow: 0 1px 0 rgba(13, 20, 26, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 16px; }
.logo img { width: 84px; height: auto; }

.nav-toggle {
    display: none; background: none; border: none; font-size: 26px;
    color: var(--navy); cursor: pointer; padding: 4px;
}
.nav-menu { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-menu a {
    font-family: var(--font-head); font-weight: 500; font-size: 16px;
    color: var(--navy-2); padding: 6px 2px; position: relative;
}
.nav-menu a:hover { color: var(--primary); }
.nav-menu a.active { color: var(--primary); }
.nav-menu a.active::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0;
    height: 2px; background: var(--primary); border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative; color: var(--white);
    background-color: var(--navy);
    background-image: linear-gradient(rgba(16, 24, 64, .55), rgba(16, 24, 64, .75)), url('/assets/img/hero.jpg');
    background-size: cover; background-position: center; background-attachment: fixed;
    text-align: center; padding: 110px 16px 130px;
}
.hero-eyebrow {
    font-family: var(--font-head); font-weight: 600; font-size: 14px;
    letter-spacing: 2px; text-transform: uppercase; color: #b8c0cc; margin-bottom: 18px;
}
.hero h1 {
    color: var(--white); font-size: clamp(32px, 5.2vw, 58px);
    max-width: 900px; margin: 0 auto 22px;
}
.hero p {
    max-width: 620px; margin: 0 auto 34px; font-size: 18px; color: #e6e9f0;
}
.hero .btn { align-self: center; }

/* ---------- Feature cards ---------- */
.features { padding: 56px 16px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    background: var(--white); border: 1px solid var(--light);
    border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow);
    text-align: left; transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16, 24, 64, .16); }
.feature-icon {
    width: 56px; height: 56px; border-radius: 14px; margin-bottom: 18px;
    background: var(--light); display: flex; align-items: center; justify-content: center;
    color: var(--primary);
}
.feature-card h3 { font-size: 20px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 15px; }

/* ---------- About / Mission ---------- */
.about { padding: 80px 16px; background: var(--white); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-image { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.about-image img { width: 100%; height: auto; object-fit: cover; }
.about-content h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 18px; }
.about-content p { color: var(--muted); margin-bottom: 16px; font-size: 16px; }
.about-content .btn { margin-top: 12px; }

.mission { padding: 80px 16px; background: var(--light); }
.mission .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mission-content h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 18px; }
.mission-content p { color: var(--muted); font-size: 16px; }
.mission-bg { min-height: 320px; border-radius: 20px; box-shadow: var(--shadow);
    background-image: linear-gradient(rgba(16, 24, 64, .35), rgba(16, 24, 64, .35)), url('/assets/img/fundo-cidade.jpg');
    background-size: cover; background-position: center; }

/* ---------- Section heading ---------- */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Services ---------- */
.services { padding: 80px 16px; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    background: var(--white); border: 1px solid var(--light); border-radius: 16px;
    overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease;
}
.service-card:hover { transform: translateY(-4px); }
.service-card img { width: 100%; height: 220px; object-fit: cover; }
.service-card-body { padding: 26px; }
.service-card-body h3 { font-size: 20px; margin-bottom: 10px; }
.service-card-body p { color: var(--muted); font-size: 15px; }

/* ---------- Gallery ---------- */
.gallery { padding: 80px 16px; background: var(--light); }
.gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.gallery-item { border-radius: 12px; overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.tall img { height: 300px; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 80px 16px; background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial {
    background: var(--light); border-radius: 16px; padding: 34px;
    box-shadow: var(--shadow); position: relative;
}
.testimonial .stars { color: #ffb400; font-size: 20px; letter-spacing: 3px; margin-bottom: 14px; }
.testimonial blockquote { font-size: 16px; color: var(--text); margin-bottom: 18px; }
.testimonial cite { font-style: normal; font-family: var(--font-head); font-weight: 600; color: var(--navy); }

/* ---------- Contact band / footer ---------- */
.contact-band {
    background-color: var(--navy);
    background-image: linear-gradient(rgba(16, 24, 64, .82), rgba(16, 24, 64, .82)), url('/assets/img/fundo-cidade.jpg');
    background-size: cover; background-position: center; background-attachment: fixed;
    color: var(--white); padding: 80px 16px; text-align: center;
}
.contact-band h2 { color: var(--white); font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.contact-subtitle { color: #cdd4e0; margin-bottom: 20px; }
.contact-tags { display: flex; justify-content: center; gap: 12px; margin-bottom: 26px; }
.tag {
    font-family: var(--font-head); font-size: 13px; font-weight: 600;
    padding: 8px 18px; border-radius: 999px; color: var(--white);
    border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08);
}
.contact-row { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-bottom: 30px; }
.contact-link { color: var(--white); font-weight: 500; }
.contact-link:hover { color: #b8c0cc; }
.contact-address { margin-bottom: 26px; font-size: 15px; color: #cdd4e0; }
.contact-form { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; max-width: 560px; margin: 0 auto; }
.contact-form input {
    flex: 1 1 240px; padding: 14px 18px; border-radius: 999px; border: none;
    font-family: var(--font-body); font-size: 15px; color: var(--text);
    background: var(--white);
}

.site-footer { background: var(--navy-2); color: #8a93a6; padding: 26px 16px; text-align: center; font-size: 14px; }

/* ---------- WhatsApp bubble ---------- */
.whatsapp-bubble {
    position: fixed; bottom: 24px; right: 20px; z-index: 19;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25d366; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25); transition: transform .2s ease;
}
.whatsapp-bubble:hover { transform: scale(1.08); }

/* ============================================================
   Páginas internas
   ============================================================ */

/* Hero interno (Serviços / Produtos / Contato) */
.page-hero { text-align: center; padding: 90px 16px; color: var(--white);
    background-color: var(--navy);
    background-image: linear-gradient(rgba(16, 24, 64, .7), rgba(16, 24, 64, .7)), url('/assets/img/serv-hero.jpg');
    background-size: cover; background-position: center; }
.page-hero.products { background-image: linear-gradient(rgba(16, 24, 64, .72), rgba(16, 24, 64, .72)), url('/assets/img/hero.jpg'); }
.page-hero.contact { background-image: linear-gradient(rgba(16, 24, 64, .75), rgba(16, 24, 64, .75)), url('/assets/img/about.jpg'); }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 16px; }
.page-hero p { max-width: 640px; margin: 0 auto; color: #dde3ee; font-size: 17px; }

/* Serviços internos */
.service-list { padding: 80px 16px; }
.service-list .service-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
    margin-bottom: 64px;
}
.service-row:nth-child(even) .service-row-media { order: 2; }
.service-row-media { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.service-row-media img { width: 100%; height: 100%; object-fit: cover; }
.service-row-body h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.service-row-body p { color: var(--muted); font-size: 16px; }

/* Produtos */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
    background: var(--white); border: 1px solid var(--light); border-radius: 16px;
    overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
    display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16, 24, 64, .16); }
.product-card img { width: 100%; height: 220px; object-fit: cover; }
.product-card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.product-card-body h3 { font-size: 19px; margin-bottom: 10px; }
.product-card-body p { color: var(--muted); font-size: 15px; margin-bottom: 18px; flex: 1; }
.product-card-body .btn { align-self: flex-start; }

/* Contato */
.contact-page { padding: 80px 16px; }
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.contact-info p { color: var(--muted); margin-bottom: 26px; }
.contact-info dl { display: grid; gap: 18px; margin-bottom: 28px; }
.contact-info dt { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.contact-info dd { color: var(--text); font-size: 17px; margin-top: 2px; }
.contact-info dd a { color: var(--primary); }

.hours-table { border-collapse: collapse; width: 100%; max-width: 380px; font-size: 15px; }
.hours-table tr { border-bottom: 1px solid var(--light); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table th { text-align: left; font-family: var(--font-head); font-weight: 500; color: var(--text); padding: 7px 10px 7px 0; white-space: nowrap; }
.hours-table td { text-align: right; color: var(--muted); padding: 7px 0; }

.contact-side { display: grid; gap: 24px; }
.map-thumbnail {
    border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
    border: 1px solid var(--light); line-height: 0;
}
.map-thumbnail iframe { display: block; }

.contact-form-card {
    background: var(--light); border-radius: 16px; padding: 34px; box-shadow: var(--shadow);
}
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-family: var(--font-head); font-weight: 500; margin-bottom: 8px; }
.form-field input, .form-field textarea {
    width: 100%; padding: 14px 16px; border: 1px solid #d8dde6; border-radius: 10px;
    font-family: var(--font-body); font-size: 15px; background: var(--white); color: var(--text);
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--primary); border-color: var(--primary); }
.form-success {
    background: #e7f6ec; border: 1px solid #b8e3c6; color: #14652b;
    border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; font-size: 15px;
}

/* ---------- Segurança: Honeypot ---------- */
.security-honeypot {
    position: absolute; left: -9999px; width: 1px; height: 1px;
    overflow: hidden; opacity: 0; pointer-events: none;
}

/* ---------- Alertas ---------- */
.alert {
    max-width: 720px; margin: 0 auto 20px; padding: 14px 18px;
    border-radius: 10px; font-size: 15px;
}
.alert--success { background: #e7f6ec; border: 1px solid #b8e3c6; color: #14652b; }
.alert--error { background: #fdecee; border: 1px solid #f5c2c9; color: #8a1f2e; }

/* ============================================================
   Painel Admin
   ============================================================ */
.admin { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; }
.admin__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.admin__title { font-size: 1.5rem; font-weight: 600; color: var(--navy); }
.admin__logout { color: var(--primary); font-weight: 600; }
.admin__logout:hover { color: var(--primary-hover); }

.admin__form {
    background: var(--light); border: 1px solid #d8dde6; border-radius: 12px;
    box-shadow: var(--shadow); padding: 32px;
}
.admin__form + .admin__form { margin-top: 24px; }
.admin__form h2 { font-size: 1.125rem; font-weight: 600; margin-bottom: 20px; }
.admin__form h2:not(:first-child) { margin-top: 24px; }
.admin__form label { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.admin__form input {
    width: 100%; border: 1px solid #d8dde6; border-radius: 8px; padding: 12px 16px;
    font-family: var(--font-body); font-size: 0.9375rem; margin-bottom: 16px; color: var(--text);
    transition: border-color .2s ease;
}
.admin__form input:focus { outline: none; border-color: var(--primary); }
.admin__form button {
    background: var(--primary); color: var(--white); border: none; padding: 12px 24px;
    border-radius: 999px; font-family: var(--font-head); font-weight: 600;
    font-size: 0.9375rem; cursor: pointer; margin-right: 8px; transition: background .2s ease;
}
.admin__form button:hover { background: var(--primary-hover); }
.admin__hint { font-size: 0.8125rem; color: var(--muted); margin: -8px 0 16px; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1024px) {
    .features-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: flex-start; gap: 0;
        background: var(--white); box-shadow: var(--shadow);
        max-height: 0; overflow: hidden; transition: max-height .25s ease;
    }
    .nav-menu.open { max-height: 320px; }
    .nav-menu li { width: 100%; }
    .nav-menu a { display: block; padding: 14px 20px; border-bottom: 1px solid var(--light); }
    .nav-menu a.active::after { display: none; }

    .features-grid, .services-grid, .products-grid { grid-template-columns: 1fr; }
    .about-inner, .mission .container, .service-list .service-row,
    .service-row:nth-child(even) .service-row-media, .contact-page-grid { grid-template-columns: 1fr; order: 0; }
    .service-row:nth-child(even) .service-row-media { order: 0; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item img, .gallery-item.tall img { height: 180px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .hero { padding: 80px 16px 100px; background-attachment: scroll; }
    .contact-band { background-attachment: scroll; }
}
