:root {
    --brand: #078692;
    --brand-bright: #04a9b8;
    --brand-soft: #e8f8f9;
    --brand-dark: #063f43;
    --brand-deep: #042f33;
    --ink: #142326;
    --muted: #667276;
    --surface: #ffffff;
    --surface-soft: #f7f7f4;
    --line: #dde4e3;
    --radius: 12px;
    --shadow: 0 18px 50px rgba(9, 52, 56, .10);
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.05; }
h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); letter-spacing: -.035em; }
p { line-height: 1.65; }
.eyebrow { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .32em; font-size: .72rem; font-weight: 800; color: var(--brand); }
.eyebrow-light { color: #75e0e8; }
.section { padding: 74px 0; }

/* Header */
.site-header { position: relative; z-index: 50; background: rgba(255,255,255,.98); border-bottom: 1px solid rgba(7,134,146,.08); }
.header-inner { height: 82px; display: grid; grid-template-columns: 250px 1fr auto; align-items: center; gap: 24px; }
.brand img { width: 195px; height: auto; }
.main-nav { display: flex; justify-content: center; gap: 34px; font-size: .92rem; }
.main-nav a { position: relative; padding: 30px 0 27px; color: #213235; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 2px; background: var(--brand); transform: scaleX(0); transition: .2s ease; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-cta { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 9px; background: linear-gradient(135deg, var(--brand-bright), var(--brand)); color: #fff; text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; font-weight: 800; box-shadow: 0 10px 30px rgba(7,134,146,.18); }
.header-cta svg { width: 18px; }
.mobile-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.mobile-toggle span { display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--brand-dark); transition: .2s ease; }

/* Hero */
.hero-home {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    background: #0a292b;
    display: flex;
    align-items: stretch;
}
.hero-photo {
    position: absolute;
    inset: 0;

    background-image: url('../images/progen/home-hero.jpg');

    background-repeat: no-repeat;

    /* mantém praticamente toda a altura original da foto */
    background-size: auto 100%;

    /* ancora a imagem no lado direito */
    background-position: right bottom;

    background-color: #071f21;
}
.hero-photo::after {content: "";    position: absolute;    inset: 0;    background: linear-gradient(        90deg,        rgba(5, 34, 36, .60) 0%,        rgba(5, 34, 36, .22) 50%,        rgba(5, 34, 36, .02) 100%    );}
.hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        #071f21 0%,
        rgba(7, 31, 33, .99) 27%,
        rgba(7, 31, 33, .90) 43%,
        rgba(7, 31, 33, .48) 59%,
        rgba(7, 31, 33, .08) 78%,
        transparent 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;

    padding-top: 52px;
    padding-bottom: 26px;

    color: #fff;
}
.hero-content h1 {
    max-width: 620px;
    font-size: clamp(3rem, 5.4vw, 5.2rem);
}
.hero-content h1 span { color: #30c5d0; }
.hero-copy { max-width: 500px; margin: 20px 0 28px; font-size: 1.06rem; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 7px; text-transform: uppercase; letter-spacing: .055em; font-size: .76rem; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 17px; }
.btn-primary { background: linear-gradient(135deg, var(--brand-bright), var(--brand)); color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.03); }
.btn-compact { min-height: 44px; padding: 0 18px; margin-top: 10px; }
.hero-trust { margin-top: 32px; display: flex; gap: 38px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 11px; text-transform: uppercase; font-size: .68rem; font-weight: 700; letter-spacing: .035em; color: rgba(255,255,255,.93); }
.trust-icon { width: 30px; color: #24c7d3; }
.trust-icon svg { width: 28px; height: 28px; }

/* Section heading */
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-heading h2 { max-width: 820px; }
.text-link { padding-bottom: 6px; border-bottom: 1px solid rgba(7,134,146,.55); text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; font-weight: 800; color: #345357; white-space: nowrap; }
.text-link span { margin-left: 9px; color: var(--brand); }

/* Bull cards */
.genetics-featured { background: #fbfbf9; }
.bull-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.bull-card { overflow: hidden; background: #fff; border: 1px solid #edf0ef; border-radius: 8px; box-shadow: 0 10px 28px rgba(21,45,47,.06); transition: transform .22s ease, box-shadow .22s ease; }
.bull-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.bull-card-image { display: block; aspect-ratio: 1.75 / 1; overflow: hidden; background: #dce2df; }
.bull-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.bull-card:hover .bull-card-image img { transform: scale(1.035); }
.bull-card-body { padding: 16px 17px 17px; }
.bull-breed { margin: 0 0 8px !important; color: #6b7476 !important; text-transform: uppercase; letter-spacing: .24em; font-size: .64rem !important; }
.bull-card h3 { text-transform: uppercase; font-size: 1.45rem; letter-spacing: -.01em; }
.bull-card-body > p:not(.bull-breed) { min-height: 48px; margin: 9px 0 15px; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.card-button { width: 100%; min-height: 40px; display: inline-flex; justify-content: center; align-items: center; gap: 14px; border-radius: 5px; background: linear-gradient(180deg, #0aa8b6, #067681); color: #fff; text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; font-weight: 800; }

/* Search banner */
.genetics-search { position: relative; overflow: hidden; padding: 40px 0 42px; background: var(--brand-dark); color: #fff; }

.genetics-search::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url('../images/progen/rebanho-pastagem.jpg');

    background-size: cover;
    background-position: center 62%;

    opacity: .20;
    filter: saturate(.75);
}

.genetics-search-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,50,54,.96), rgba(3,65,69,.86)); }
.genetics-search-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px 40px; align-items: center; }
.genetics-search h2 { font-size: clamp(2rem, 3vw, 3rem); }
.genetics-search-form { align-self: end; }
.search-field { height: 51px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border-radius: 8px; background: #fff; color: #456064; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.search-field svg { width: 22px; color: var(--brand); }
.search-field input { width: 100%; border: 0; outline: 0; color: #203235; background: transparent; }
.search-field input::placeholder { color: #98a3a5; }
.breed-chips { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
.breed-chips a { padding: 10px 19px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; font-size: .78rem; transition: .2s ease; }
.breed-chips a:hover { background: #fff; color: var(--brand-dark); }

/* About */
.about-home { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1.2fr .58fr; gap: 42px; align-items: stretch; }
.about-image-wrap { position: relative; min-height: 315px; overflow: hidden; border-radius: 8px; }
.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.about-image-badge { position: absolute; right: 0; bottom: 0; min-width: 170px; padding: 24px; background: rgba(3,66,70,.93); color: #fff; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; line-height: 1.8; }
.about-copy { align-self: center; }
.about-copy h2 { font-size: clamp(2rem, 3.1vw, 3.1rem); }
.about-copy p:not(.eyebrow) { margin: 16px 0 0; color: var(--muted); font-size: .95rem; }
.about-points { border-left: 1px solid var(--line); padding-left: 28px; display: flex; flex-direction: column; justify-content: center; gap: 25px; }
.about-points div { display: grid; grid-template-columns: 42px 1fr; gap: 10px; align-items: start; }
.about-points span { font-family: Georgia, serif; font-size: 1.2rem; color: var(--brand); }
.about-points p { margin: 0; text-transform: uppercase; letter-spacing: .035em; font-size: .68rem; line-height: 1.45; color: #536164; }

/* Partners */
.partners-home { padding-top: 48px; padding-bottom: 54px; background: #fbfbfa; border-top: 1px solid #eff1ef; }
.partners-heading h2 { font-size: clamp(1.75rem, 2.7vw, 2.6rem); }
.partner-logos { min-height: 130px; display: flex; align-items: center; justify-content: center; gap: 74px; }
.partner-logo { height: 82px; min-width: 260px; display: flex; align-items: center; justify-content: center; }
.partner-logo img { max-height: 78px; width: auto; object-fit: contain; }
.partner-alta img { mix-blend-mode: multiply; }
.partner-romancini img { max-height: 95px; }
.partner-separator { height: 78px; width: 1px; background: var(--line); }

/* CTA */
.contact-cta { position: relative; overflow: hidden; min-height: 190px; display: flex; align-items: center; background: #0b3538; color: #fff; }
.contact-cta::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url('../images/progen/gado-por-do-sol.jpg');

    background-size: cover;
    background-position: center 58%;

    opacity: .48;
}
.contact-cta-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(4,33,35,.94),
        rgba(4,48,51,.72),
        rgba(4,48,51,.30)
    );
}
.contact-cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 34px; padding-bottom: 34px; }
.contact-cta h2 { max-width: 650px; font-size: clamp(2rem, 3.4vw, 3.2rem); }
.contact-cta p { max-width: 580px; margin: 12px 0 0; color: rgba(255,255,255,.88); }
.contact-cta-button { min-width: 300px; }

/* Footer */
.site-footer { background: linear-gradient(135deg, #043e42, #053236); color: #fff; padding: 30px 0 18px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 22px; }
.footer-brand img { width: 165px; }
.footer-brand p { margin: 0; padding-left: 22px; border-left: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.85); font-size: .82rem; }
.footer-nav { display: flex; gap: 27px; font-size: .78rem; color: rgba(255,255,255,.88); }
.footer-nav a:hover { color: #63e4ed; }
.footer-divider { height: 1px; background: rgba(255,255,255,.18); margin-top: 24px; }
.footer-contact-grid { display: grid; grid-template-columns: 1.05fr .65fr 1.2fr; gap: 34px; padding-top: 23px; }
.footer-contact { display: flex; gap: 15px; color: rgba(255,255,255,.88); font-size: .76rem; }
.footer-contact strong { color: #fff; }
.footer-contact p { margin: 4px 0 0; line-height: 1.5; }
.footer-contact a { display: block; margin-top: 4px; line-height: 1.4; }
.footer-contact a:hover { color: #78e4ea; }
.footer-icon { flex: 0 0 28px; color: #2ed1dc; }
.footer-icon svg { width: 25px; height: 25px; }
.footer-emails { border-left: 1px solid rgba(255,255,255,.16); padding-left: 30px; }
.footer-bottom { padding-top: 22px; margin-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); }

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    min-height: 62px;
    padding: 10px 16px 10px 10px;

    border-radius: 999px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;

    box-shadow: 0 18px 38px rgba(0, 0, 0, .18);
    transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, .24);
}

.whatsapp-float-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);

    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
}

.whatsapp-float-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.whatsapp-float-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.whatsapp-float-text strong {
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .01em;
}

.whatsapp-float-text small {
    margin-top: 3px;
    font-size: .72rem;
    color: rgba(255,255,255,.88);
}

.whatsapp-float::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 1px solid rgba(37, 211, 102, .28);
    animation: whatsappPulse 2.2s infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: .8;
    }
    70% {
        transform: scale(1.08);
        opacity: 0;
    }
    100% {
        transform: scale(1.08);
        opacity: 0;
    }
}

@media (max-width: 1080px) {
    .header-inner { grid-template-columns: 205px 1fr; }
    .header-cta { display: none; }
    .main-nav { justify-content: end; gap: 25px; }
    .bull-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr 1.25fr; }
    .about-points { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding: 26px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); }
    .footer-contact-grid { grid-template-columns: 1fr 1fr; }
    .footer-emails { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}

@media (max-width: 820px) {
    .container { width: min(calc(100% - 32px), var(--container)); }
    .site-header { position: sticky; top: 0; }
    .header-inner { height: 70px; grid-template-columns: 1fr auto; }
    .brand img { width: 160px; }
    .mobile-toggle { display: block; z-index: 60; }
    .mobile-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
    .mobile-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .main-nav { position: absolute; top: 70px; left: 0; right: 0; display: none; padding: 16px 24px 24px; background: #fff; box-shadow: 0 18px 30px rgba(2,41,43,.12); flex-direction: column; gap: 0; }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 14px 4px; border-bottom: 1px solid #edf1f0; }
    .main-nav a::after { display: none; }
    .hero-home { min-height: 560px; }
    .hero-photo { inset: 0; background-position: 68% center; }
    .hero-overlay { background: linear-gradient(90deg, rgba(5,31,33,.98) 0%, rgba(5,31,33,.92) 54%, rgba(5,31,33,.48) 100%); }
    .hero-content { padding-top: 42px; padding-bottom: 26px; }
    .hero-content h1 { max-width: 560px; font-size: clamp(3rem, 11vw, 4.7rem); }
    .hero-copy { max-width: 430px; }
    .hero-trust { gap: 22px; }
    .section { padding: 58px 0; }
    .section-heading-row { align-items: start; flex-direction: column; }
    .genetics-search-inner { grid-template-columns: 1fr; }
    .breed-chips { grid-column: auto; }
    .about-grid { grid-template-columns: 1fr; }
    .about-image-wrap { min-height: 360px; }
    .about-points { grid-column: auto; grid-template-columns: repeat(2, 1fr); }
    .partner-logos { gap: 30px; }
    .partner-logo { min-width: 0; width: 45%; }
    .contact-cta-inner { align-items: flex-start; flex-direction: column; }
    .contact-cta-button { min-width: 0; }
    .footer-top { align-items: flex-start; flex-direction: column; }
    .footer-nav { flex-wrap: wrap; }
    .footer-contact-grid { grid-template-columns: 1fr; }
    .footer-emails { grid-column: auto; }
    .institutional-hero-photo {background-position: 62% center;}
    .progen-national-photo { background-position: center center;}

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        padding: 0;
        width: 58px;
        height: 58px;
        justify-content: center;
        border-radius: 50%;
    }

    .whatsapp-float-text {
        display: none;
    }

    .whatsapp-float-icon {
        width: 58px;
        height: 58px;
        background: transparent;
    }

    .whatsapp-float-icon svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-float::after {
        inset: -4px;
        border-radius: 50%;
    }
}

@media (max-width: 560px) {
    .hero-home { min-height: 610px; }
    .hero-content {
        padding-top: 36px;
        padding-bottom: 24px;
    }
    .hero-content h1 { font-size: 3rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; }
    .hero-trust { display: grid; grid-template-columns: 1fr 1fr; margin-top: 26px; }
    .bull-grid { grid-template-columns: 1fr; }
    .bull-card-image { aspect-ratio: 1.9 / 1; }
    .genetics-search { padding: 34px 0; }
    .breed-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
    .breed-chips::-webkit-scrollbar { display: none; }
    .breed-chips a { white-space: nowrap; }
    .about-image-wrap { min-height: 285px; }
    .about-points { grid-template-columns: 1fr; }
    .partner-logos { flex-direction: column; }
    .partner-logo { width: 100%; }
    .partner-separator { width: 80%; height: 1px; }
    .contact-cta-button { width: 100%; }
    .footer-brand { align-items: flex-start; flex-direction: column; }
    .footer-brand p { padding-left: 0; border-left: 0; }
    .footer-nav { gap: 16px 22px; }
}

