
/* IDENTIDADE VISUAL AMBYA */

:root {
    --background: #181F29;
    --background-alt: #1E2834;
    --card: #232F3C;
    --white: #FFFFFF;
    --text-secondary: #B4C0CD;
    --cyan: #37CDD9;
    --border: #35434F;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--background);
    color: var(--white);
    line-height: 1.6;
}

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

.container {
    width: min(90%, 1180px);
    margin: 0 auto;
}

/* CABEÇALHO */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(24, 31, 41, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
}

.header-content {
    min-height: 88px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo img {
    display: block;
    width: 150px;
    height: auto;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navigation a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.navigation a:hover {
    color: var(--cyan);
}

.navigation .nav-contact {
    padding: 10px 22px;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    border-radius: 7px;
}

.menu-toggle {
    display: none;
}

/* SEÇÃO PRINCIPAL */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            ellipse at 85% 35%,
            rgba(55, 205, 217, 0.09),
            transparent 45%
        ),
        var(--background);
}

.hero-content {
    padding: 90px 0 90px;
}

.eyebrow,
.section-label {
    display: inline-block;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    max-width: 900px;
    margin-top: 24px;
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 600;
    line-height: 1.13;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--cyan);
}

.hero p {
    max-width: 680px;
    margin-top: 28px;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 38px;
}


/* BOTÕES — REFINAMENTO PREMIUM */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    min-height: 52px;
    padding: 14px 26px;

    border: 1px solid transparent;
    border-radius: 6px;

    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1px;
    line-height: 1.4;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

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

.btn-primary {
    background-color: var(--cyan);
    color: #12212A;
}

.btn-primary:hover {
    background-color: #63DCE5;
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--border);
    color: var(--white);
}

.btn-secondary:hover {
    border-color: #70818E;
    background-color: rgba(255, 255, 255, 0.035);
}

.btn:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }

    .btn:hover {
        transform: none;
    }
}

/* SEÇÕES */

.section {
    padding: 110px 0;
}

.section h2 {
    max-width: 760px;
    margin-top: 20px;
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.2;
}

.section-description {
    max-width: 720px;
    margin-top: 24px;
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.9;
}

.solutions,
.about {
    background: var(--background-alt);
}

/* CARDS */

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 55px;
}

.card {
    min-height: 275px;
    padding: 30px 25px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: transform 0.25s, border-color 0.25s;
}

.card:hover {
    transform: translateY(-3px);
    border-color: #58717F;
    background: #263542;
}

.card-number {
    color: var(--cyan);
    font-size: 13px;
}

.card h3 {
    margin-top: 33px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -0.3px;
}

.card p {
    margin-top: 17px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
}

/* PRODUTOS */

.product-card {
    margin-top: 45px;
    padding: 55px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--background-alt);
}

.product-tag {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.product-card h3 {
    margin-top: 18px;
    font-size: 46px;
}

.product-card p {
    max-width: 650px;
    margin-top: 18px;
    color: var(--text-secondary);
    line-height: 1.9;
}

/* CONTATO */

.contact {
    text-align: center;
}

.contact h2,
.contact .section-description {
    margin-left: auto;
    margin-right: auto;
}

.contact .btn {
    margin-top: 35px;
}

/* RODAPÉ */

.footer {
    padding: 36px 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-content span {
    font-size: 22px;
    font-weight: 700;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 13px;
}

/* TABLETS */

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

    .navigation {
        gap: 18px;
    }
}

/* CELULARES */

@media (max-width: 768px) {
    .header-content {
        min-height: 75px;
    }

    .logo img {
        width: 125px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 10px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 25px;
        height: 2px;
        background: var(--white);
    }

    .navigation {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        padding: 25px 5%;
        flex-direction: column;
        align-items: stretch;
        background: var(--background);
        border-bottom: 1px solid var(--border);
    }

    .navigation.active {
        display: flex;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 95px 0;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 16px;
    }

    .section {
        padding: 80px 0;
    }

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

    .card {
        min-height: auto;
    }

    .product-card {
        padding: 32px 25px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* NOVO RODAPÉ AMBYA */

.footer {
    padding: 65px 0 25px;
    background: #181F29;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    padding-bottom: 55px;
}

.footer-brand {
    max-width: 420px;
}

.footer-logo {
    display: block;
    width: 175px;
    max-width: 100%;
    height: auto;
}

.footer-slogan {
    margin-top: 20px;
    color: var(--cyan) !important;
    font-size: 15px !important;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.footer-description {
    margin-top: 9px;
    color: var(--text-secondary);
    font-size: 16px;
}

.footer-navigation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-navigation h3 {
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--white);
}

.footer-navigation a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-navigation a:hover {
    color: var(--cyan);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 12px;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
        padding-bottom: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* =====================================
   BARBO BY AMBYA
===================================== */

.barbo-card {
    margin-top: 45px;
    padding: 55px;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(55, 205, 217, 0.10),
            transparent 45%
        ),
        var(--background-alt);
}

/* LOGOS */

.product-brand {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 35px;
}

.barbo-logo {
    display: block;
    width: 185px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.brand-by {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
}

.ambya-product-logo {
    display: block;
    width: 105px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* CONTEÚDO */

.barbo-card h3 {
    max-width: 850px;
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.2;
    letter-spacing: -1px;
}

.barbo-card p {
    max-width: 780px;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

/* FUNCIONALIDADES */

.barbo-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 35px 0;
}

.barbo-feature {
    display: flex;
    align-items: center;
    min-height: 65px;
    padding: 16px;
    background: #253542;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--white);
    font-size: 14px;
}

/* DEMONSTRAÇÃO */

.barbo-card .barbo-demo-note {
    margin-top: 15px;
    font-size: 12px;
}

/* RESPONSIVIDADE */

@media (max-width: 900px) {
    .barbo-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .barbo-card {
        padding: 30px 22px;
    }

    .barbo-logo {
        width: 135px;
    }

    .ambya-product-logo {
        width: 82px;
    }

    .product-brand {
        gap: 10px;
    }

    .barbo-features {
        grid-template-columns: 1fr;
    }

    .barbo-card .btn {
        width: 100%;
    }
}

/* REFINAMENTO — BARBO BY AMBYA */

.product-brand {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.barbo-logo {
    width: 170px;
    height: auto;
    display: block;
}

.brand-by {
    font-size: 12px;
    font-weight: 400;
    color: #91A3B2;
    margin-left: 3px;
}

.ambya-product-logo {
    width: 78px;
    height: auto;
    display: block;
}

@media (max-width: 600px) {
    .product-brand {
        gap: 9px;
    }

    .barbo-logo {
        width: 135px;
    }

    .ambya-product-logo {
        width: 65px;
    }
}

/* AJUSTE DE PROPORÇÃO — BARBO BY AMBYA */

.brand-by {
    font-size: 14px;
    font-weight: 500;
    color: #B4C0CD;
}

.ambya-product-logo {
    width: 95px;
    height: auto;
}

@media (max-width: 600px) {
    .ambya-product-logo {
        width: 78px;
    }

    .brand-by {
        font-size: 12px;
    }
}

/* DISTÂNCIA DAS SEÇÕES AO MENU FIXO */

html {
    scroll-padding-top: 130px;
}

.section {
    scroll-margin-top: 30px;
}

/* =====================================
   AMBYA — NOSSA ABORDAGEM
===================================== */

.methodology {
    background: var(--background);
}



/* NOSSA ABORDAGEM — PROCESSO INTERATIVO */

.methodology-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.methodology-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;

    min-width: 0;
    padding: 25px 4px 8px 0;

    background: transparent;
    border: none;
    border-top: 2px solid var(--border);

    color: var(--text-secondary);
    font: inherit;
    text-align: left;
    cursor: pointer;

    transition: border-color 0.25s ease, color 0.25s ease;
}

.methodology-step::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 0;

    width: 10px;
    height: 10px;
    border-radius: 50%;

    background: var(--border);
    box-shadow: 0 0 0 5px var(--background);

    transition: background-color 0.25s ease;
}

.methodology-step:hover,
.methodology-step.active {
    color: var(--white);
    border-top-color: var(--cyan);
}

.methodology-step:hover::before,
.methodology-step.active::before {
    background: var(--cyan);
}

.methodology-step-number {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.methodology-step-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}

.methodology-step:focus-visible,
.methodology-controls button:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 5px;
}

/* DETALHES DA ETAPA SELECIONADA */

.methodology-detail {
    margin-top: 38px;
    padding: 30px 0;
    border-top: 1px solid var(--border);
    min-height: 195px;
}

.methodology-detail-number {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
}

.methodology-detail-title {
    margin-top: 14px;
    color: var(--white);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
}

.methodology-detail-description {
    max-width: 700px;
    margin-top: 14px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

/* NAVEGAÇÃO ENTRE ETAPAS */

.methodology-controls {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

.methodology-controls button {
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: transparent;
    color: var(--white);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.methodology-controls button:hover:not(:disabled) {
    border-color: var(--cyan);
    background: rgba(55, 205, 217, 0.05);
}

.methodology-controls button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.methodology-controls .methodology-next {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    background: var(--cyan);
    border-color: var(--cyan);
    color: #12212A;
}

.methodology-controls .methodology-next:hover:not(:disabled) {
    background: #63DCE5;
}

/* TABLETS */

@media (max-width: 900px) {
    .methodology-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 25px;
    }
}

/* CELULARES */

@media (max-width: 600px) {
    .methodology-steps {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-top: 40px;
    }

    .methodology-step {
        gap: 10px;
        padding-top: 20px;
    }

    .methodology-step-title {
        font-size: 14px;
    }

    .methodology-detail {
        margin-top: 25px;
        min-height: 225px;
    }

    .methodology-detail-title {
        font-size: 23px;
    }

    .methodology-detail-description {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .methodology-step,
    .methodology-step::before,
    .methodology-controls button {
        transition: none;
    }
}

/* ÍCONES MINIMALISTAS DAS SOLUÇÕES */

.solution-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.solution-icon {
    display: block;
    width: 30px;
    height: 30px;
    fill: none;
    stroke: var(--cyan);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.solutions .card h3 {
    margin-top: 30px;
    min-height: 56px;
    display: flex;
    align-items: flex-start;
}

/* REFINAMENTO PREMIUM — MOBILE */

@media (max-width: 600px) {

    .hero-content {
        padding-top: 75px;
        padding-bottom: 70px;
    }

    .hero h1 {
        font-size: clamp(34px, 9vw, 42px);
        line-height: 1.15;
        letter-spacing: -1px;
    }

    .hero p {
        margin-top: 24px;
        font-size: 15px;
        line-height: 1.75;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-top: 30px;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: space-between;
    }

}

/* REFINAMENTO DO MENU MOBILE */

@media (max-width: 768px) {
    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        padding: 24px 5%;
        background: #181F29;
        border-bottom: 1px solid var(--border);

        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
    }

    .navigation a {
        font-size: 14px;
        padding: 8px 0;
    }

    .navigation .nav-contact {
        padding: 12px 18px;
    }
}

/* FORMULÁRIO DE CONTATO — AMBYA */

.contact-form {
    width: 100%;
    max-width: 760px;
    margin: 45px auto 0;
    padding: 35px;
    text-align: left;
    background: var(--background-alt);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 22px;
}

.form-field label {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 15px 17px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--background);
    color: var(--white);
    font: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-field textarea {
    resize: vertical;
    min-height: 140px;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(55, 205, 217, 0.08);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #91A2B1;
}

.form-honeypot {
    display: none;
}

.form-privacy {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 22px;
}

.contact-submit {
    border: 0;
    cursor: pointer;
}

.contact-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.form-status {
    margin-top: 15px;
    font-size: 14px;
    min-height: 0;
}

@media (max-width: 600px) {
    .contact-form {
        padding: 24px 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-submit {
        width: 100%;
    }
}

/* CONTATO — REFINAMENTO DESKTOP */

@media (min-width: 769px) {

    .contact-form {
        max-width: 980px;
        padding: 30px 38px;
        margin-top: 35px;
    }

    .contact-form .form-field {
        margin-bottom: 16px;
        gap: 7px;
    }

    .contact-form .form-row {
        gap: 20px;
    }

    .contact-form .form-field input,
    .contact-form .form-field textarea {
        padding: 12px 15px;
    }

    .contact-form .form-field textarea {
        min-height: 100px;
    }

    .contact-form .form-privacy {
        margin-bottom: 16px;
    }
}

/* AJUSTE FINAL — FORMULÁRIO DE CONTATO */

@media (min-width: 769px) {

    .contact-form textarea {
        height: 115px;
        min-height: 115px;
    }

    .contact-form .form-field {
        margin-bottom: 14px;
    }

    .contact-form .form-privacy {
        margin-top: 0;
        margin-bottom: 16px;
    }

    .contact-form .contact-submit {
        margin-top: 0;
    }
}

/* CONFIRMAÇÃO DO FORMULÁRIO */

.form-status {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.6;
}

.form-success {
    color: #74D8B1;
}

.form-error {
    color: #F29B9B;
}

.contact-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =====================================
   SOBRE A AMBYA — LAYOUT EDITORIAL
===================================== */

.about-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    column-gap: 90px;
    align-items: start;
    margin-top: 35px;
}

/* COLUNA ESQUERDA */

.about-heading h2 {
    max-width: 480px;
    margin-top: 0;
    font-size: clamp(34px, 3.5vw, 46px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -1.5px;
}

.about-heading h2 span {
    color: var(--cyan);
}

.about-accent {
    width: 42px;
    height: 2px;
    margin-top: 30px;
    background: var(--cyan);
}

.about-brand-signature {
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

/* COLUNA DIREITA */

.about-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.about-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.85;
}

.about-content .about-intro {
    color: var(--white);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.55;
}

/* ASSINATURA INFERIOR */

.about-footer {
    display: flex;
    align-items: center;
    margin-top: 65px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.about-footer p {
    color: var(--white);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.2px;
    line-height: 1.5;
}

/* TABLETS */

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 0.85fr 1.15fr;
        column-gap: 40px;
    }
}

/* CELULARES */

@media (max-width: 700px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 30px;
    }

    .about-heading h2 {
        font-size: clamp(32px, 8vw, 42px);
    }

    .about-content {
        gap: 20px;
    }

    .about-content .about-intro {
        font-size: 18px;
    }

    .about-footer {
        margin-top: 45px;
    }
}
