:root {
    --cream: #FDF5EB;
    --cream-light: #FFF9F3;
    --white: #FFFFFF;

    --wine: #7E1E2F;
    --wine-dark: #5E1725;
    --rose: #B26473;
    --coral: #FA7B86;
    --orange: #FE9F63;
    --gold: #FDBA3B;

    --text: #351820;
    --muted: #765F64;

    --border: rgba(126, 30, 47, 0.13);

    --shadow: 0 18px 50px rgba(126, 30, 47, 0.10);

    --max-width: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

button {
    font-family: inherit;
}

.container {
    width: min(var(--max-width), calc(100% - 40px));
    margin: auto;
}


/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;

    background: rgba(253, 245, 235, 0.88);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid transparent;

    transition: 0.3s ease;
}

.header.scrolled {
    background: rgba(253, 245, 235, 0.96);
    border-bottom-color: var(--border);

    box-shadow: 0 5px 25px rgba(126, 30, 47, 0.05);
}

.nav {
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--wine);

    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 700;

    /* CONTROLE DA LOGO */
    height: 55px;
}

.logo img {
    width: 105px;
    height: 55px;

    object-fit: contain;
    object-position: left center;

    display: block;
}

.logo b {
    color: var(--rose);
    font-weight: 500;
}

.star {
    color: var(--coral);
    font-size: 23px;
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;

    font-size: 13px;
    color: var(--wine);
}

nav a {
    transition: 0.25s;
}

nav a:hover {
    color: var(--coral);
}

.nav-contact {
    border: 1px solid rgba(126, 30, 47, 0.3);

    border-radius: 50px;

    padding: 10px 17px;

    color: var(--wine);
}

.nav-contact:hover {
    background: var(--wine);
    color: white;
}

#menuButton {
    display: none;

    background: none;
    border: none;

    color: var(--wine);

    font-size: 25px;

    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 82% 45%,
            rgba(250, 123, 134, 0.20),
            transparent 28%
        ),

        radial-gradient(
            circle at 15% 85%,
            rgba(253, 186, 59, 0.12),
            transparent 25%
        ),

        var(--cream);
}

.hero::before {
    content: "✦";

    position: absolute;

    top: 18%;
    left: 7%;

    color: var(--gold);

    font-size: 32px;

    opacity: 0.7;

    animation: floatingSmall 5s ease-in-out infinite;
}

.hero::after {
    content: "✦";

    position: absolute;

    right: 7%;
    bottom: 13%;

    color: var(--coral);

    font-size: 24px;

    opacity: 0.6;

    animation: floatingSmall 6s ease-in-out infinite reverse;
}

.hero-grid {
    min-height: 100vh;

    padding-top: 90px;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 40px;
}

.eyebrow {
    color: var(--wine);

    letter-spacing: 3px;

    font-size: 11px;

    font-weight: 700;

    margin-bottom: 18px;
}

.hero h1,
h2 {
    font-family: "Playfair Display", serif;

    font-weight: 600;

    line-height: 1.02;
}

.hero h1 {
    color: var(--wine);

    font-size: clamp(55px, 7vw, 94px);

    letter-spacing: -3px;
}

em {
    color: var(--rose);
    font-style: italic;
}

.hero-text {
    color: var(--muted);

    max-width: 570px;

    margin: 27px 0;

    font-size: 16px;
}

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding: 14px 21px;

    border-radius: 50px;

    font-size: 13px;

    font-weight: 700;

    transition: 0.3s;
}

.primary {
    background: var(--wine);

    color: white;

    box-shadow: 0 10px 25px rgba(126, 30, 47, 0.15);
}

.primary:hover {
    background: var(--wine-dark);

    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(126, 30, 47, 0.22);
}

.secondary {
    border: 1px solid var(--border);

    color: var(--wine);

    background: rgba(255,255,255,0.35);
}

.secondary:hover {
    border-color: var(--wine);

    background: white;
}

.statistics {
    display: flex;

    gap: 40px;

    margin-top: 54px;
}

.statistics div {
    display: flex;

    flex-direction: column;
}

.statistics strong {
    font-family: "Playfair Display";

    color: var(--wine);

    font-size: 24px;
}

.statistics span {
    color: var(--muted);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* =========================
   HERO ART
========================= */

.hero-art {
    min-height: 600px;

    position: relative;

    display: grid;

    place-items: center;
}

.orb {
    width: min(440px, 72vw);

    aspect-ratio: 1;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 28%,
            #fff7ee,
            #f9b4b9 30%,
            #d67b88 52%,
            #7e1e2f 76%
        );

    box-shadow:
        0 25px 80px rgba(126, 30, 47, 0.18);

    animation: floating 6s ease-in-out infinite;

    position: relative;
}

.orb::before {
    content: "";

    position: absolute;

    inset: -16px;

    border: 1px solid rgba(126, 30, 47, 0.15);

    border-radius: 50%;
}

.orb::after {
    content: "";

    position: absolute;

    inset: -45px;

    border: 1px solid rgba(178, 100, 115, 0.12);

    border-radius: 50%;
}

.orb-content {
    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    color: white;

    text-shadow: 0 3px 20px rgba(80, 15, 30, 0.25);
}

.orb-content span {
    color: var(--gold);

    font-size: 45px;
}

.orb-content small {
    letter-spacing: 8px;

    margin-left: 8px;

    font-size: 10px;
}

.orb-content strong {
    font-family: "Playfair Display";

    font-size: 29px;

    letter-spacing: 3px;
}

.floating-card {
    position: absolute;

    display: flex;

    align-items: center;

    gap: 12px;

    background: rgba(255, 255, 255, 0.86);

    border: 1px solid rgba(126, 30, 47, 0.12);

    backdrop-filter: blur(12px);

    padding: 13px 17px;

    border-radius: 14px;

    box-shadow: var(--shadow);
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    color: var(--wine);

    font-size: 12px;
}

.floating-card small {
    color: var(--muted);

    font-size: 10px;
}

.card-one {
    top: 19%;
    right: 1%;
}

.card-two {
    bottom: 20%;
    left: 0;
}

.card-one > span {
    color: var(--coral);

    font-size: 22px;
}

.dot {
    width: 10px;
    height: 10px;

    background: var(--gold);

    border-radius: 50%;

    box-shadow: 0 0 15px rgba(253,186,59,0.55);
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 120px 0;
}

.about {
    background: var(--cream-light);
}

.two-columns {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: end;
}

h2 {
    color: var(--wine);

    font-size: clamp(42px, 5vw, 68px);

    letter-spacing: -2px;
}

.about-text {
    color: var(--muted);

    max-width: 560px;
}

.about-text p + p {
    margin-top: 17px;
}

.about-text strong {
    color: var(--wine);
}

.text-link {
    display: inline-block;

    margin-top: 28px;

    color: var(--wine);

    font-size: 13px;

    font-weight: 700;
}

.text-link:hover {
    color: var(--coral);
}


/* =========================
   VALUES
========================= */

.values {
    margin-top: 75px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.values article {
    min-height: 280px;

    padding: 28px;

    border: 1px solid var(--border);

    background: white;

    position: relative;

    box-shadow: 0 10px 35px rgba(126, 30, 47, 0.04);
}

.values article.featured {
    background:
        linear-gradient(
            145deg,
            rgba(250, 123, 134, 0.12),
            white
        );

    border-color: rgba(126, 30, 47, 0.18);
}

.values article > span {
    color: var(--rose);

    font-size: 11px;
}

.value-icon {
    font-size: 32px;

    color: var(--coral);

    margin: 35px 0 20px;
}

.values h3 {
    font-family: "Playfair Display";

    color: var(--wine);

    font-size: 25px;

    margin-bottom: 10px;
}

.values p {
    color: var(--muted);

    font-size: 13px;
}


/* =========================
   SERVICES
========================= */

.services {
    background: var(--cream);
}

.section-title {
    text-align: center;
}

.section-title > p:last-child {
    color: var(--muted);

    max-width: 550px;

    margin: 18px auto 0;
}

.service-grid {
    margin-top: 55px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.service {
    min-height: 330px;

    padding: 27px;

    background: white;

    border: 1px solid var(--border);

    position: relative;

    transition: 0.3s;

    box-shadow: 0 10px 35px rgba(126, 30, 47, 0.04);
}

.service:hover {
    transform: translateY(-7px);

    border-color: rgba(126, 30, 47, 0.28);

    box-shadow: var(--shadow);
}

.service-number {
    position: absolute;

    top: 30px;

    right: 27px;

    color: var(--rose);

    font-size: 11px;
}

.service-icon {
    color: var(--coral);

    font-size: 30px;

    margin-bottom: 30px;
}

.service h3 {
    font-family: "Playfair Display";

    color: var(--wine);

    font-size: 25px;

    margin-bottom: 12px;
}

.service p {
    color: var(--muted);

    font-size: 13px;
}

.service a {
    position: absolute;

    bottom: 27px;

    color: var(--wine);

    font-size: 12px;

    font-weight: 700;
}

.service a:hover {
    color: var(--coral);
}


/* =========================
   MANAGEMENT
========================= */

.management {
    background: var(--cream-light);
}

.management-grid {
    margin-top: 55px;

    display: grid;

    grid-template-columns: 1.25fr 1fr 1fr;

    gap: 15px;
}

.management-card {
    padding: 28px;

    min-height: 250px;

    border: 1px solid var(--border);

    background: white;

    position: relative;

    box-shadow: 0 10px 35px rgba(126, 30, 47, 0.04);
}

.management-card.large {
    grid-row: span 2;

    min-height: 515px;

    background:
        linear-gradient(
            145deg,
            rgba(250, 123, 134, 0.10),
            white
        );
}

.management-icon {
    color: var(--coral);

    font-size: 28px;

    margin-bottom: 35px;
}

.management-card h3 {
    font-family: "Playfair Display";

    color: var(--wine);

    font-size: 26px;

    margin-bottom: 10px;
}

.management-card p {
    color: var(--muted);

    font-size: 13px;
}

.management-card small {
    position: absolute;

    bottom: 25px;

    color: var(--rose);

    font-size: 9px;

    letter-spacing: 2px;
}


/* =========================
   ORGANIZATION
========================= */

.organization {
    margin-top: 80px;

    border-top: 1px solid var(--border);

    padding-top: 50px;
}

.organization h3 {
    font-family: "Playfair Display";

    color: var(--wine);

    font-size: 30px;
}

.organization-chart {
    padding-top: 45px;

    overflow-x: auto;
}

.director {
    background: white;

    border: 1px solid var(--border);

    width: 220px;

    margin: auto;

    padding: 18px;

    text-align: center;

    border-radius: 10px;

    box-shadow: 0 8px 25px rgba(126, 30, 47, 0.05);
}

.director small,
.departments small {
    display: block;

    color: var(--wine);

    letter-spacing: 2px;

    font-size: 8px;

    margin-bottom: 4px;
}

.director strong,
.departments strong {
    color: var(--text);

    font-size: 12px;
}

.line {
    height: 30px;

    width: 1px;

    background: var(--rose);

    margin: auto;
}

.departments {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;

    position: relative;
}

.departments::before {
    content: "";

    position: absolute;

    top: -15px;

    left: 12%;

    right: 12%;

    height: 1px;

    background: var(--rose);
}

.departments > div {
    background: white;

    border: 1px solid var(--border);

    padding: 18px;

    text-align: center;

    border-radius: 10px;

    box-shadow: 0 8px 25px rgba(126, 30, 47, 0.04);
}


/* =========================
   MARKETING
========================= */

.marketing {
    background: var(--cream);
}

.marketing-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 100px;
}

.marketing-grid > div:first-child > p {
    color: var(--muted);

    margin-top: 20px;
}

.strategies {
    border-top: 1px solid var(--border);
}

.strategies article {
    display: grid;

    grid-template-columns: 55px 1fr;

    gap: 15px;

    padding: 25px 0;

    border-bottom: 1px solid var(--border);
}

.strategies article > span {
    color: var(--coral);

    font-size: 11px;
}

.strategies h3 {
    font-family: "Playfair Display";

    color: var(--wine);

    font-size: 22px;

    margin-bottom: 4px;
}

.strategies p {
    color: var(--muted);

    font-size: 13px;
}


/* =========================
   CONTACT
========================= */

.contact {
    padding-top: 70px;

    background: var(--cream-light);
}

.contact-box {
    min-height: 370px;

    padding: 65px;

    border: 1px solid rgba(126, 30, 47, 0.16);

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(253, 186, 59, 0.13),
            transparent 30%
        ),

        radial-gradient(
            circle at 15% 70%,
            rgba(250, 123, 134, 0.12),
            transparent 35%
        ),

        white;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    box-shadow: var(--shadow);
}

.contact-box p {
    color: var(--muted);

    margin-top: 18px;
}

.contact-buttons {
    display: flex;

    flex-direction: column;

    gap: 10px;

    min-width: 190px;
}

.light {
    background: white;

    border: 1px solid rgba(126, 30, 47, 0.18);

    color: var(--wine);
}

.light:hover {
    background: var(--cream);

    border-color: var(--wine);
}

.contact-info {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    padding: 45px 0;
}

.contact-info div {
    border-left: 1px solid var(--border);

    padding-left: 18px;
}

.contact-info span {
    display: block;

    color: var(--rose);

    text-transform: uppercase;

    font-size: 9px;

    letter-spacing: 2px;
}

.contact-info strong {
    display: block;

    margin-top: 5px;

    font-size: 12px;

    color: var(--wine);
}


/* =========================
   FOOTER
========================= */

footer {
    background: var(--wine);

    border-top: 1px solid rgba(255,255,255,0.1);

    padding: 30px 0;

    color: #FDF5EB;

    font-size: 10px;
}

footer .logo {
    color: white;

    height: 45px;
}

footer .logo img {
    width: 105px;
    height: 45px;

    object-fit: contain;
    object-position: left center;
}

footer .logo b {
    color: #F6B6BE;
}

footer .star {
    color: var(--gold);
}

.footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


/* =========================
   TOP BUTTON
========================= */

#topButton {
    position: fixed;

    right: 20px;

    bottom: 20px;

    z-index: 20;

    width: 42px;

    height: 42px;

    border-radius: 50%;

    border: 1px solid rgba(126, 30, 47, 0.2);

    background: white;

    color: var(--wine);

    cursor: pointer;

    opacity: 0;

    pointer-events: none;

    transition: 0.3s;

    box-shadow: 0 8px 25px rgba(126, 30, 47, 0.12);
}

#topButton.show {
    opacity: 1;

    pointer-events: auto;
}

#topButton:hover {
    background: var(--wine);

    color: white;
}


/* =========================
   ANIMATIONS
========================= */

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes floatingSmall {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(12deg);
    }
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    #menuButton {
        display: block;
    }

    nav {
        display: none;

        position: absolute;

        top: 78px;

        left: 20px;

        right: 20px;

        padding: 20px;

        background: var(--cream-light);

        border: 1px solid var(--border);

        border-radius: 15px;

        flex-direction: column;

        align-items: stretch;

        box-shadow: var(--shadow);
    }

    nav.open {
        display: flex;
    }

    .hero-grid,
    .two-columns,
    .marketing-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-bottom: 60px;
    }

    .hero-grid {
        padding-top: 120px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .statistics {
        justify-content: center;
    }

    .hero-art {
        min-height: 500px;

        order: -1;
    }

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

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

    .management-card.large {
        grid-row: auto;

        min-height: 300px;
    }

    .departments {
        min-width: 800px;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .container {
        width: min(
            var(--max-width),
            calc(100% - 28px)
        );
    }

    .section {
        padding: 80px 0;
    }

    /* LOGO MENOR NO CELULAR */
    .logo {
        height: 45px;
    }

    .logo img {
        width: 85px;
        height: 45px;

        object-fit: contain;
        object-position: left center;
    }

    footer .logo {
        height: 40px;
    }

    footer .logo img {
        width: 85px;
        height: 40px;
    }

    .hero h1 {
        font-size: 52px;
    }

    h2 {
        font-size: 43px;
    }

    .hero-art {
        min-height: 400px;
    }

    .orb {
        width: 300px;
    }

    .card-one {
        right: 0;

        top: 14%;
    }

    .card-two {
        left: 0;

        bottom: 12%;
    }

    .statistics {
        gap: 22px;
    }

    .values,
    .service-grid,
    .management-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-box {
        padding: 38px 25px;

        flex-direction: column;

        align-items: flex-start;
    }

    .contact-buttons {
        width: 100%;
    }

    .footer {
        flex-direction: column;

        align-items: flex-start;
    }
}
