/* ============================================================
   Ração em Casa — visual proprio (v1)
   Fonte: Fredoka (titulos) + Inter (texto)
   Paleta: verde-pinho #21402C + dourado #E2A63B + creme quente #FFFDF6
   Botoes: pilula, seccoes alternadas creme/branco, CTA "ilha" flutuante
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --navy: #21402c;
    --navy-2: #16301f;
    --teal: #e2a63b;
    --ink: #23301c;
    --gray: #5c5341;
    --gray-light: #8a806b;
    --bg: #fffdf6;
    --bg-alt: #f5eeda;
    --blue-soft: #f5e4be;
    --border: #e6d8b3;
    --green: #22a559;

  --font: "Inter", "Segoe UI", sans-serif;
    --font-display: "Fredoka", "Segoe UI", sans-serif;
    --radius-pill: 999px;
    --radius-card: 16px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 700;
    line-height: 1.18;
    margin: 0 0 0.5em;
}
h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
h3 { font-size: 1.1rem; }

p { color: var(--gray); margin: 0 0 1em; }

.eyebrow {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 12px;
}

/* ---------- Buttons (pill) ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, opacity .15s ease;
    white-space: nowrap;
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-1px); }

.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { opacity: 0.88; }

.btn-black { background: var(--ink); color: #fff; }
.btn-black:hover { opacity: 0.88; }

.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { border-color: #fff; }

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

/* ---------- Top utility bar ---------- */
.topbar {
    background: var(--navy);
    color: #fff;
}
.topbar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 0.85rem;
    font-weight: 500;
}
.topbar .socials { display: flex; gap: 14px; }
.topbar .socials a { display: flex; }

@media (max-width: 700px) {
    .topbar .wrap { font-size: 0.72rem; padding-left: 20px; padding-right: 20px; }
}

/* ---------- Header ---------- */
header.site {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    max-width: var(--container);
    margin: 0 auto;
}
.brand img { height: 68px; width: auto; max-width: 320px; object-fit: contain; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 0.96rem;
    font-weight: 500;
    color: var(--gray);
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }

.nav-toggle { display: none; }

.nav-links-cta { display: none; }
.nav-backdrop { display: none; }

@media (max-width: 860px) {
    .nav-cta-desktop { display: none; }
    .nav-toggle {
          display: flex; align-items: center; justify-content: center;
          width: 44px; height: 44px;
          border-radius: 50%;
          border: 1px solid var(--border);
          background: #fff;
          font-size: 1.3rem; line-height: 1; color: var(--navy); cursor: pointer;
    }

  .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15,32,43,0.5);
        z-index: 60;
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s ease;
  }
    .nav-backdrop.open { opacity: 1; visibility: visible; }

body.nav-open { overflow: hidden; }

  .nav-links {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -48%) scale(0.96);
        width: min(88vw, 340px);
        z-index: 61;
        background: #fff;
        border-radius: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 18px;
        box-shadow: 0 20px 50px rgba(15,32,43,0.25);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform .2s ease, opacity .2s ease;
  }
    .nav-links a { padding: 14px 10px; text-align: center; border-radius: 10px; font-weight: 600; }
    .nav-links a:hover { background: var(--bg-alt); }
    .nav-links.open {
          transform: translate(-50%, -50%) scale(1);
          opacity: 1;
          visibility: visible;
          pointer-events: auto;
    }
    .nav-links-cta { display: flex; justify-content: center; margin-top: 8px; }
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 0; overflow: hidden; }
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
}
.hero-copy { padding-right: 40px; padding-bottom: 64px; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy p.lead { font-size: 1.1rem; margin-bottom: 26px; max-width: 46ch; }

.hero-cta-card {
    background: var(--navy);
    border-radius: var(--radius-card);
    padding: 22px 24px 24px;
    display: inline-block;
}
.hero-cta-card .cta-label { color: #fff; font-weight: 600; margin-bottom: 14px; font-size: 1rem; }
.hero-cta-card .cta-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-cta-card .btn-white { color: var(--teal); }

.hero-media {
    position: relative;
    height: 560px;
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { padding-right: 0; padding-bottom: 32px; }
    .hero-media { height: 320px; margin-right: 0; border-radius: var(--radius-card); }
}

/* ---------- Info strip ---------- */
.info-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.info-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
    padding: 28px 0;
}
.info-block .label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.info-block .name { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.info-block .sub { color: var(--gray); font-size: 0.92rem; }
.info-block.right { text-align: right; }
.info-logo { width: 64px; height: 64px; border-radius: 50%; }

@media (max-width: 700px) {
    .info-grid { grid-template-columns: 1fr; text-align: center; gap: 18px; }
    .info-block.right { text-align: center; }
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }
#inicio, #servicos, #sobre, #contactos { scroll-margin-top: 100px; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-alt { background: var(--bg-alt); }

/* ---------- Service cards ---------- */
.grid-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 30px 28px;
    box-shadow: 0 2px 18px rgba(15,59,96,0.06);
}
.card .icon-badge {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--blue-soft);
    color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.card .icon-badge svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.94rem; margin: 0; }

@media (max-width: 900px) { .grid-services { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .grid-services { grid-template-columns: 1fr; } }

/* ---------- Photo rows ---------- */
.photo-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 44px;
}
.photo-row img { border-radius: var(--radius-card); aspect-ratio: 1/1.05; object-fit: cover; }
.photo-wide { margin-top: 16px; }
.photo-wide img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius-card); }

@media (max-width: 760px) {
    .photo-row { grid-template-columns: repeat(2,1fr); }
}

/* ---------- About split ---------- */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.about-split img { border-radius: var(--radius-card); width: 100%; height: 480px; object-fit: cover; }
.badge-row { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.badge-pill {
    display: flex; align-items: center; gap: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ink);
}
.badge-pill svg { width: 20px; height: 20px; color: var(--navy); flex-shrink: 0; }

@media (max-width: 900px) {
    .about-split { grid-template-columns: 1fr; }
    .about-split img { height: 300px; }
}

/* ---------- Team / responsible cards (sobre page) ---------- */
.team-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: 0 2px 18px rgba(15,59,96,0.06);
    padding: 22px 26px;
}
.team-card .avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.15rem;
    flex-shrink: 0;
}
.team-card .name { font-weight: 700; color: var(--ink); }
.team-card .role { font-size: 0.9rem; color: var(--gray); }

/* ---------- CTA floating island ---------- */
.cta-section { background: var(--bg-alt); }
.cta-island {
    background: var(--navy);
    border-radius: 28px;
    padding: 54px 48px;
    text-align: center;
}
.cta-island h2 { color: #fff; }
.cta-island p { color: rgba(255,255,255,0.78); max-width: 50ch; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 600px) {
    .cta-island { padding: 38px 24px; border-radius: 20px; }
}

/* ---------- Footer ---------- */
footer.site { background: #fff; padding: 64px 0 32px; border-top: 1px solid var(--border); }
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.footer-grid h4 { font-weight: 700; margin: 0 0 16px; font-size: 1.2rem; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; font-size: 0.95rem; }
.footer-contact .row { display: flex; align-items: center; gap: 10px; color: var(--gray); }
.footer-contact svg { width: 18px; height: 18px; color: var(--navy); flex-shrink: 0; }
.footer-contact a:hover { color: var(--navy); }
.footer-map { border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--border); height: 220px; }
.footer-map iframe { width: 100%; height: 100%; border: 0; }
.footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    font-size: 0.85rem; color: var(--gray-light);
}
.footer-bottom a { margin-right: 16px; }

@media (max-width: 760px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--bg-alt); padding: 56px 0 48px; }
.page-hero p { max-width: 60ch; }

/* ---------- Contact cards ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }

.map-embed { width: 100%; height: 400px; border: 0; border-radius: var(--radius-card); }


/* ============================================================
   Tema proprio da Racao em Casa
   Verde-pinho #21402C, dourado #E2A63B, creme quente #FFFDF6
   ============================================================ */
body.tema-grupo {
    --bg-alt: #f5eeda;
    --gray: #5c5341;
    --gray-light: #8a806b;
    --border: #e6d8b3;
    --blue-soft: #f5e4be;
    --teal-deep: #b97e22;
}
.tema-grupo h1, .tema-grupo h2 { color: var(--navy); font-weight: 800; letter-spacing: -0.02em; }
.tema-grupo h3 { color: var(--navy); }
.tema-grupo .eyebrow { color: var(--teal-deep); }

.tema-grupo .hero { background: var(--navy); }
.tema-grupo .hero h1 { color: #fff; }
.tema-grupo .hero-copy p.lead { color: #e9dfc4; }
.tema-grupo .opening-soon-badge { background: rgba(255,255,255,0.12); color: #f3cf8f; }
.tema-grupo .hero-actions .btn-navy { background: var(--teal); }
.tema-grupo .hero-actions .btn-navy:hover { background: #cf9530; }
.tema-grupo .hero-brands { background: #fff; border-radius: 16px; padding: 16px 20px; display: inline-block; max-width: 100%; }
.tema-grupo .hero-brands-label { color: var(--navy); }

.tema-grupo .info-block .label { color: var(--teal-deep); }
.tema-grupo .card, .tema-grupo .team-card, .tema-grupo .blog-preview-card { box-shadow: 0 2px 18px rgba(0, 40, 69, 0.08); }
.tema-grupo .card .icon-badge, .tema-grupo .team-card .avatar { background: var(--blue-soft); color: var(--teal-deep); }
.tema-grupo .cta-island h2 { color: #fff; }
.tema-grupo .btn-teal-solid { background: var(--teal); color: #fff; }
.tema-grupo .btn-teal-solid:hover { background: #cf9530; transform: translateY(-1px); }

.grupo-band { background: var(--bg-alt); padding: 56px 0 0; }
.grupo-band-inner {
    background: var(--navy); border-radius: 28px; padding: 34px 44px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px;
}
.grupo-band-inner img { height: 48px; width: auto; }
.grupo-band-inner p { color: #e9dfc4; margin: 0; flex: 1 1 18rem; font-weight: 600; }
@media (max-width: 600px) { .grupo-band-inner { padding: 28px 24px; border-radius: 20px; } }

.tema-grupo footer.site { background: #182619; border-top: 0; }
.tema-grupo footer.site h4, .tema-grupo footer.site strong { color: #fff !important; }
.tema-grupo footer.site p, .tema-grupo footer.site a, .tema-grupo footer.site .footer-contact .row { color: #d9d0b8 !important; }
.tema-grupo footer.site a:hover { color: #fff !important; }
.tema-grupo footer.site .footer-contact svg { color: #f0c987; }
.tema-grupo footer.site .footer-bottom { border-top-color: #33392b; }
.tema-grupo footer.site .footer-bottom, .tema-grupo footer.site .footer-bottom * { color: #a89f87 !important; }
.tema-grupo footer.site .socials a { background: rgba(255, 255, 255, 0.14) !important; color: #fff !important; }
.tema-grupo footer.site .socials a:hover { background: var(--teal) !important; }
