/* ============================================================
   01. TOKENS & RESET
   ============================================================ */
:root {
    --green-950: #102f25;
    --green-900: #164b35;
    --green-700: #246847;
    --green-500: #4e9364;
    --green-100: #edf4e9;
    --cream: #fbfaf5;
    --sand: #f3f0e7;
    --yellow: #e9b93c;
    --yellow-soft: #fff1b9;
    --ink: #1d2b23;
    --muted: #607267;
    --border: #dce5da;
    --white: #fff;
    --radius: 22px;
    --shadow: 0 15px 45px rgba(18, 55, 38, 0.08);
    --font: 'Segoe UI', Arial, Helvetica, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font: 16px/1.65 var(--font);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1, h2, h3 {
    line-height: 1.13;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(2.75rem, 5.2vw, 5.6rem);
}

h2 {
    font-size: clamp(2rem, 3vw, 3.25rem);
}

h3 {
    font-size: 1.3rem;
}

h1 em, h2 em {
    color: var(--green-700);
    font-style: normal;
}

:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 4px;
}

.container {
    width: min(1200px, calc(100% - 56px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    z-index: 100;
    top: -100px;
    left: 15px;
    padding: 10px 18px;
    background: white;
}

.skip-link:focus {
    top: 10px;
}

/* ============================================================
   02. HEADER & NAVIGATION
   ============================================================ */
.utility-bar {
    background: var(--green-950);
    color: #e3f0e5;
    font-size: 0.78rem;
}

.utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 32px;
    gap: 16px;
}

.utility-bar a:hover {
    color: var(--yellow);
}

.site-header {
    position: relative;
    z-index: 10;
    background: var(--white);
    border-bottom: 1px solid #eef0e9;
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 91px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    line-height: 1;
}

.brand-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    background: var(--green-900);
    color: var(--yellow);
    font-size: 1.65rem;
    font-weight: 900;
}

.brand-name {
    color: var(--green-900);
    font-size: 1.5rem;
    font-weight: 850;
    letter-spacing: -0.06em;
}

.brand-name strong {
    color: var(--green-700);
}

.brand-name small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.59rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.6vw, 27px);
    font-size: 0.89rem;
    font-weight: 600;
}

.nav > a:not(.btn) {
    transition: color 0.2s ease;
}

.nav > a:not(.btn):hover,
.nav > a.active {
    color: var(--green-500);
}

.menu-button {
    display: none;
}

/* ============================================================
   03. BUTTONS & COMMON ELEMENTS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 19px;
    padding: 12px 19px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 0.91rem;
    font-weight: 750;
    line-height: 1.45;
    transition: transform 0.2s ease, background 0.2s ease;
    text-align: center;
}

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

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

.btn-primary:hover {
    background: #0c3a28;
}

.btn-outline {
    border-color: #b6c9b9;
    color: var(--green-900);
}

.btn-outline:hover {
    background: var(--green-100);
}

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

.btn-large {
    padding: 16px 23px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    color: var(--green-700);
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow);
}

.section {
    padding: 98px 0;
}

.section-soft {
    background: #f0f5ed;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 35px;
}

.section-heading h2 {
    max-width: 710px;
    margin-bottom: 0;
}

.text-link {
    flex-shrink: 0;
    color: var(--green-900);
    font-size: 0.91rem;
    font-weight: 750;
}

.text-link:hover {
    text-decoration: underline;
}

/* ============================================================
   04. HOMEPAGE: HERO
   ============================================================ */
.hero {
    overflow: hidden;
    padding: 66px 0 74px;
    background: radial-gradient(circle at 5% 15%, #eef6e8, transparent 35%), var(--cream);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    align-items: center;
    gap: clamp(35px, 5vw, 82px);
}

.hero-copy h1 {
    max-width: 690px;
    margin-bottom: 22px;
}

.hero-copy > p {
    max-width: 490px;
    color: var(--muted);
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding-top: 40px;
    margin-top: 45px;
    border-top: 1px solid var(--border);
}

.hero-facts strong,
.hero-facts span {
    display: block;
}

.hero-facts strong {
    font-size: 0.94rem;
    color: var(--green-900);
}

.hero-facts span {
    color: var(--muted);
    font-size: 0.74rem;
}

.hero-visual {
    position: relative;
    min-height: 565px;
}

.hero-visual > img {
    width: 100%;
    height: 565px;
    object-fit: cover;
    object-position: 50% 40%;
    border-radius: 110px 22px 22px 22px;
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 75%;
    padding: 15px 20px;
    background: var(--green-900);
    color: white;
    border-radius: 0 14px 0 20px;
    font-size: 0.8rem;
}

/* ============================================================
   05. PRODUCTS & HOMEPAGE SECTIONS
   ============================================================ */
.section-products {
    background: var(--white);
}

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

.product-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 224px;
    padding: 23px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fbfcf8;
}

.product-kicker {
    color: var(--green-700);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.product-card h3 {
    margin: 7px 0 8px;
}

.product-card p {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 0.83rem;
}

.product-card a {
    color: var(--green-900);
    font-size: 0.77rem;
    font-weight: 800;
}

.product-card a:hover {
    text-decoration: underline;
}

/* As fotografias recebidas têm bordas transparentes largas.
   O enquadramento abaixo amplia a imagem via CSS, sem modificar
   os arquivos originais enviados pelo cliente. */
.product-media {
    position: relative;
    display: block;
    width: 132px;
    height: 195px;
    min-height: 0;
    overflow: hidden;
    flex: none;
}

.product-photo,
.product-photo-tall {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 320px;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: initial;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 4px 4px rgba(16, 47, 37, 0.10));
}

/* Na página interna, damos mais destaque ao produto. */
.detail-media {
    width: 185px;
    height: 245px;
    margin: 0 auto 20px;
}

.detail-card .product-photo,
.detail-card .product-photo-tall {
    width: 410px;
    max-width: none;
    max-height: none;
}

.product-note {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 0.77rem;
}

.highlight-section {
    background: var(--yellow-soft);
}

.highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 8%;
}

.highlight-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius);
}

.highlight-copy p {
    max-width: 480px;
    color: #536354;
    font-size: 1.05rem;
}

.highlight-copy .btn {
    margin-top: 15px;
}

.contact-strip {
    padding: 77px 0;
    background: var(--cream);
}

.contact-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.contact-strip h2 {
    margin-bottom: 10px;
}

.contact-strip p {
    margin-bottom: 0;
    color: var(--muted);
}

/* ============================================================
   06. INTERNAL PAGES
   ============================================================ */
.page-hero {
    padding: 82px 0 86px;
    background: linear-gradient(120deg, #f0f5ed, #fafaf3 70%);
}

.page-hero h1 {
    max-width: 950px;
    margin-bottom: 21px;
    font-size: clamp(2.8rem, 5vw, 4.9rem);
}

.page-hero p {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.page-hero-compact {
    padding: 65px 0;
}

.page-hero-compact h1 {
    font-size: clamp(2.7rem, 4.5vw, 4rem);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 8%;
}

.story-grid > div > p {
    color: var(--muted);
}

.story-grid .btn {
    margin-top: 17px;
}

.story-photo img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius);
}

.story-grid.reverse {
    grid-template-columns: 1fr 1fr;
}

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

.info-card {
    padding: 33px 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
}

.info-card h3 {
    margin: 12px 0;
}

.info-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.card-num {
    color: var(--green-500);
    font-size: 0.85rem;
    font-weight: 900;
}

.company-register {
    padding: 65px 0;
    background: var(--green-100);
}

.register-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.register-inner h2 {
    margin-bottom: 0;
}

.register-inner p {
    margin-bottom: 7px;
}

.product-detail-grid .detail-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    text-align: center;
}

.detail-card h2 {
    margin-bottom: 13px;
    color: var(--green-900);
    font-size: 2.25rem;
}

.detail-card p {
    min-height: 92px;
    color: var(--muted);
}

.detail-card .btn {
    margin-top: auto;
}

.steps {
    margin: 28px 0;
}

.steps > div {
    display: flex;
    gap: 17px;
    margin-bottom: 14px;
}

.steps > div > span {
    flex-shrink: 0;
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    background: var(--green-100);
    border-radius: 50%;
    color: var(--green-900);
    font-size: 0.78rem;
    font-weight: 800;
}

.steps p {
    color: var(--muted);
}

.steps strong {
    color: var(--green-950);
}

.muted-small {
    margin-top: 18px;
    font-size: 0.77rem;
}

/* ============================================================
   07. CONTACT & LEGAL CONTENT
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9%;
}

.contact-item {
    display: flex;
    gap: 18px;
    padding: 19px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item h2 {
    margin-bottom: 8px;
    font-size: 1.38rem;
}

.contact-item p {
    margin-bottom: 5px;
    color: var(--muted);
}

.contact-item a {
    color: var(--green-900);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-icon {
    flex-shrink: 0;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 13px;
    background: var(--green-100);
    color: var(--green-700);
    font-size: 1.3rem;
}

.contact-side > img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
}

.hours-card {
    padding: 30px 35px;
    border-radius: 0 0 var(--radius) var(--radius);
    background: var(--green-900);
    color: var(--white);
}

.hours-card h2 {
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.hours-card p {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.89rem;
}

.hours-card small {
    color: #cde2d0;
}

.article-content {
    max-width: 830px;
}

.article-content h2 {
    margin: 38px 0 13px;
    font-size: 1.5rem;
}

.article-content p {
    color: #4f6156;
}

.article-content a {
    color: var(--green-700);
    text-decoration: underline;
}

/* ============================================================
   08. FOOTER & FLOATING CONTACT
   ============================================================ */
.site-footer {
    padding: 76px 0 23px;
    background: var(--green-950);
    color: #d1e2d4;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.75fr 1.2fr 1fr;
    gap: 50px;
}

.brand-light .brand-icon {
    background: #35614b;
}

.brand-light .brand-name,
.brand-light .brand-name strong {
    color: white;
}

.brand-light .brand-name small {
    color: #b8d0bc;
}

.footer-grid > div > p {
    margin: 22px 0 15px;
    font-size: 0.84rem;
}

.footer-grid h3 {
    margin: 5px 0 24px;
    color: white;
    font-size: 1rem;
}

.footer-grid > div > a:not(.brand),
.social-links a {
    display: block;
    margin: 0 0 12px;
    font-size: 0.84rem;
}

.footer-grid a:hover,
.footer-bottom a:hover {
    color: var(--yellow);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    margin-top: 20px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 30px;
    padding-top: 28px;
    margin-top: 59px;
    border-top: 1px solid #456353;
    font-size: 0.74rem;
}

.footer-bottom p {
    flex-basis: 100%;
    margin-bottom: 4px;
}

.footer-bottom > div {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom small {
    font-size: 0.74rem;
}

.float-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    border: 1px solid #ffffff90;
    border-radius: 100px;
    background: #1b8c50;
    box-shadow: 0 10px 25px #102f2545;
    color: var(--white);
    font-size: 0.84rem;
    font-weight: 800;
}

.float-whatsapp:hover {
    background: #116b3b;
}

/* ============================================================
   09. RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1130px) {
    .nav {
        gap: 13px;
        font-size: 0.82rem;
    }

    .nav-cta {
        padding: 10px 12px;
    }

    .product-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 920px) {
    .menu-button {
        display: flex;
        flex-direction: column;
        gap: 5px;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 11px;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: white;
        cursor: pointer;
    }

    .menu-button span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--green-900);
    }

    .nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 14px 28px 24px;
        border-top: 1px solid var(--border);
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .nav.is-open {
        display: flex;
    }

    .nav > a:not(.btn) {
        padding: 10px 0;
    }

    .hero-grid,
    .highlight-grid,
    .story-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero-copy h1 {
        max-width: 720px;
    }

    .hero-visual {
        min-height: 490px;
    }

    .hero-visual > img {
        height: 490px;
    }

    .product-card {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

@media (max-width: 650px) {
    .container {
        width: min(100% - 36px, 1200px);
    }

    .utility-inner {
        justify-content: center;
        font-size: 0.68rem;
    }

    .utility-inner a {
        display: none;
    }

    .nav-wrap {
        min-height: 75px;
    }

    .brand-icon {
        width: 42px;
        height: 42px;
    }

    .brand-name {
        font-size: 1.3rem;
    }

    .hero {
        padding: 43px 0 55px;
    }

    h1 {
        font-size: clamp(2.65rem, 11vw, 4rem);
    }

    .hero-copy > p {
        font-size: 1rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-facts {
        gap: 10px;
        margin-top: 30px;
        padding-top: 24px;
    }

    .hero-facts strong {
        font-size: 0.78rem;
    }

    .hero-facts span {
        font-size: 0.68rem;
    }

    .hero-visual,
    .hero-visual > img {
        min-height: 0;
        height: 380px;
    }

    .hero-visual > img {
        border-radius: 65px 18px 18px 18px;
    }

    .photo-caption {
        max-width: 85%;
        font-size: 0.69rem;
    }

    .section {
        padding: 65px 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .product-card {
        grid-template-columns: 112px minmax(0, 1fr);
        min-height: 215px;
        text-align: left;
    }

    .product-card .product-media {
        width: 112px;
        height: 175px;
    }

    .product-card .product-photo,
    .product-card .product-photo-tall {
        width: 290px;
    }

    .highlight-image img,
    .story-photo img {
        height: 360px;
    }

    .contact-strip-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-hero {
        padding: 60px 0;
    }

    .page-hero h1 {
        font-size: clamp(2.5rem, 9vw, 4rem);
    }

    .register-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-grid {
        gap: 55px;
    }

    .hours-card p {
        flex-direction: column;
        gap: 2px;
    }

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

    .site-footer {
        padding-top: 65px;
    }

    .footer-bottom {
        margin-top: 32px;
    }

    .float-whatsapp {
        right: 13px;
        bottom: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn {
        transition: none;
    }
}
