* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

:root {
    --primary-green: #006837;
    --primary-yellow: #F9DC00;
    --dark-gray: #3D3D3D;
    --medium-gray: #5A5A5A;
    --black: #000000;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --text-color: #333333;
    --heading-font: 'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    width: 100%;
}

@media (max-width: 768px) { .container { padding: 0 15px; } }
@media (max-width: 480px) { .container { padding: 0 10px; } }

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
nav.navbar {
    background: rgba(0, 104, 55, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: none !important;
    position: fixed !important;
    width: 100% !important;
    top: 0 !important;
    z-index: 1000 !important;
    transition: all 0.3s ease !important;
}

nav.navbar.scrolled {
    background: rgba(0, 104, 55, 0.75) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 20px;
    gap: 2rem;
}

.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 72px; width: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.25)); }

.nav-menu { display: flex; list-style: none; gap: 2rem; margin: 0; }

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.35);
    font-family: var(--heading-font);
}

.nav-menu a:hover,
.nav-menu a.nav-active {
    color: var(--primary-yellow);
    border-bottom-color: var(--primary-yellow);
}

.portfolio-menu { position: relative; }
.portfolio-toggle { cursor: pointer; user-select: none; }

.portfolio-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 104, 55, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-width: 200px;
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.portfolio-menu:hover .portfolio-dropdown,
.portfolio-menu.active .portfolio-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.portfolio-dropdown a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    font-family: var(--heading-font);
    border-bottom: none !important;
}

.portfolio-dropdown a:hover {
    background: rgba(249, 220, 0, 0.15);
    color: var(--primary-yellow);
    padding-left: 1.5rem;
}

.hamburger { display: none; flex-direction: column; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: var(--white); margin: 3px 0; transition: 0.3s; }

/* ─────────────────────────────────────────
   LANG FLOAT
───────────────────────────────────────── */
.lang-float { position: fixed; left: 18px; bottom: 18px; z-index: 1100; }

.lang-float-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}
.lang-float-toggle:hover { background: rgba(0,0,0,0.65); }
.lang-code { font-weight: 800; font-size: 0.95rem; letter-spacing: 0.08em; }

.lang-flag { width: 20px; height: 20px; border-radius: 50%; background-size: cover; background-position: center; display: inline-block; }
.lang-flag--br { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Crect width='28' height='20' fill='%23006837'/%3E%3Cpolygon points='14,2 26,10 14,18 2,10' fill='%23F9DC00'/%3E%3Ccircle cx='14' cy='10' r='4.2' fill='%2300226B'/%3E%3C/svg%3E"); }
.lang-flag--es { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Crect width='28' height='20' fill='%23AA151B'/%3E%3Crect y='5' width='28' height='10' fill='%23F1BF00'/%3E%3C/svg%3E"); }
.lang-flag--en { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Crect width='28' height='20' fill='%23012169'/%3E%3Cpath d='M0 0 L28 20 M28 0 L0 20' stroke='%23FFFFFF' stroke-width='6' stroke-linecap='butt'/%3E%3Cpath d='M0 0 L28 20 M28 0 L0 20' stroke='%23C8102E' stroke-width='3' stroke-linecap='butt'/%3E%3Cpath d='M14 0 V20 M0 10 H28' stroke='%23FFFFFF' stroke-width='8' stroke-linecap='butt'/%3E%3Cpath d='M14 0 V20 M0 10 H28' stroke='%23C8102E' stroke-width='4' stroke-linecap='butt'/%3E%3C/svg%3E"); }

.lang-float-menu {
    position: absolute; left: 0; bottom: calc(100% + 10px);
    width: 200px; max-width: calc(100vw - 36px);
    padding: 8px; border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.28);
    display: none;
}
.lang-float.open .lang-float-menu { display: block; }

.lang-option {
    width: 100%; display: flex; align-items: center; gap: 12px;
    padding: 12px; border-radius: 10px; border: none;
    background: transparent; color: var(--white); cursor: pointer; text-align: left;
}
.lang-option:hover { background: rgba(255,255,255,0.12); }
.lang-option[aria-selected="true"] { background: rgba(249,220,0,0.18); }
.lang-name { font-weight: 600; font-size: 0.95rem; }

/* ─────────────────────────────────────────
   WAVE DIVIDER
───────────────────────────────────────── */
.wave-divider { position: relative; }
.wave-divider::before {
    content: "";
    position: absolute; left: 0; top: -1px;
    width: 100%; height: 46px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center top;
    pointer-events: none; opacity: 0.95;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,34 C120,10 240,10 360,22 C480,34 600,54 720,50 C840,46 960,22 1080,20 C1200,18 1320,34 1380,42 L1440,46' fill='none' stroke='rgba(0,104,55,0.26)' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M0,40 C120,16 240,16 360,28 C480,40 600,56 720,52 C840,48 960,28 1080,26 C1200,24 1320,38 1380,46 L1440,50' fill='none' stroke='rgba(249,220,0,0.30)' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.wave-divider > .container { position: relative; z-index: 1; }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-top: 0;
    padding: 0;
}

.hero-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('../imagens/heroprincipal.webp') center / cover no-repeat;
    z-index: 1;
}

.hero-image::after {
    content: "";
    position: absolute; left: 0; bottom: 0;
    width: 100%; height: 65%;
    background: linear-gradient(to bottom, rgba(0,104,55,0) 0%, rgba(0,104,55,0.45) 35%, rgba(0,104,55,0.88) 65%, rgba(0,104,55,1) 100%);
    z-index: 2; pointer-events: none;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.18) 0%, rgba(0,104,55,0.22) 100%);
    z-index: 1;
}

.hero .container { position: relative; z-index: 3; }

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    padding: 40px 40px 60px;
    text-align: center;
    width: 100%;
    background: transparent;
}

.hero-badge {
    display: inline-block;
    background: rgba(249,220,0,0.18);
    border: 1px solid rgba(249,220,0,0.5);
    color: var(--primary-yellow);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.4rem 1.4rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    font-family: var(--heading-font);
    backdrop-filter: blur(5px);
}

.hero-title {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 4px 12px rgba(0,0,0,0.35);
    font-family: var(--heading-font);
    line-height: 1.15;
}

.hero-subtitle {
    color: rgba(255,255,255,0.92);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-cta-btn {
    display: inline-block;
    padding: 1.1rem 3.2rem;
    background: var(--primary-yellow);
    color: var(--primary-green);
    font-weight: 800;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(249,220,0,0.4);
    font-family: var(--heading-font);
}

.hero-cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(249,220,0,0.55);
    color: var(--primary-green);
    text-decoration: none;
}

/* ─────────────────────────────────────────
   SEÇÕES — ALTERNÂNCIA DE FUNDO
   why-section  → light-bg  (cinza claro)
   certs-section→ white
   services     → white
   process      → verde escuro
   expert       → light-bg
   contact      → verde escuro
───────────────────────────────────────── */

/* Heading padrão (seções claras) */
.why-section h2,
.services h2,
.expert h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
    font-weight: 700;
    font-family: var(--heading-font);
}

.section-intro {
    text-align: center;
    font-size: 1.15rem;
    max-width: 860px;
    margin: 0 auto 4rem;
    color: var(--medium-gray);
    line-height: 1.8;
}

/* ─── WHY SECTION (fundo claro) ─── */
.why-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.why-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
}

.why-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-yellow);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* Ícone circular com gradiente (padrão portfolio) */
.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-yellow), #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-green);
    box-shadow: 0 6px 20px rgba(249,220,0,0.3);
    transition: transform 0.3s ease;
}

.why-card:hover .why-icon { transform: scale(1.08); }
.why-icon svg { width: 34px; height: 34px; }

.why-card h3 { color: var(--primary-green); margin-bottom: 1rem; font-size: 1.4rem; font-weight: 700; font-family: var(--heading-font); }
.why-card p { color: var(--medium-gray); line-height: 1.75; font-size: 0.98rem; }

/* ─── CERTS SECTION (fundo branco) ─── */
.certs-section {
    padding: 50px 0;
    background-color: var(--white);
}

.certifications-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.certification-item { transition: transform 0.3s ease; }
.certification-item:hover { transform: scale(1.08); }

.certification-logo {
    max-height: 120px; height: auto;
    max-width: 220px; width: auto;
    object-fit: contain;
    filter: brightness(0.88);
    transition: all 0.3s ease;
}
.certification-logo:hover { filter: brightness(1); }

/* ─── SERVICES (fundo branco) ─── */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 3rem;
}

.service-card {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    transition: all 0.35s ease;
    border-top: 5px solid var(--primary-green);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-yellow));
    border-radius: 20px 20px 0 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 50px rgba(0,0,0,0.13);
}

/* Ícone circular amarelo */
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), #008a4a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    color: var(--primary-yellow);
    box-shadow: 0 6px 20px rgba(0,104,55,0.3);
}

.service-icon svg { width: 36px; height: 36px; }

.service-card h3 {
    color: var(--primary-green);
    font-size: 1.7rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
    font-family: var(--heading-font);
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-yellow);
}

.service-desc { color: var(--medium-gray); line-height: 1.75; margin-bottom: 1.8rem; text-align: center; }

.service-card ul { list-style: none; padding: 0; }

.service-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--medium-gray);
    line-height: 1.6;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.service-card li:last-child { border-bottom: none; }

.list-icon { color: var(--primary-green); flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; }

/* ─── PROCESS (fundo verde escuro) ─── */
.process {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, #004d28 100%);
}

.process h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 700;
    font-family: var(--heading-font);
}

.process .section-intro {
    color: rgba(255,255,255,0.82);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.5rem;
}

.step-item {
    background: rgba(255,255,255,0.09);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.14);
    padding: 2.5rem 1.8rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.15);
    border-color: rgba(249,220,0,0.4);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-yellow);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: var(--heading-font);
    text-shadow: 0 3px 10px rgba(249,220,0,0.35);
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-yellow);
    opacity: 0.9;
}
.step-icon svg { width: 32px; height: 32px; }

.step-item h3 { color: var(--white); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.8rem; font-family: var(--heading-font); }
.step-item p { color: rgba(255,255,255,0.78); line-height: 1.7; font-size: 0.9rem; }

/* ─── EXPERT (fundo claro) ─── */
.expert {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.expert-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 0;
    align-items: stretch;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 50px rgba(0,0,0,0.12);
}

.expert-photo {
    min-height: 420px;
    overflow: hidden;
    position: relative;
}

.expert-photo::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 60px; height: 100%;
    background: linear-gradient(to right, transparent, var(--white));
    pointer-events: none;
}

.expert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 43%;
    display: block;
    transition: transform 0.6s ease;
}

.expert-layout:hover .expert-img { transform: scale(1.04); }

.expert-info {
    padding: 3.5rem;
    border-left: 6px solid var(--primary-yellow);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.expert-info h3 {
    color: var(--primary-green);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    font-family: var(--heading-font);
}

.expert-info h4 {
    color: var(--primary-green);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary-yellow);
}

.expert-info p {
    color: var(--medium-gray);
    line-height: 1.85;
    font-size: 0.98rem;
    margin-bottom: 2rem;
}

.expert-credentials { display: flex; flex-direction: column; gap: 0.9rem; }

.credential-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--heading-font);
}
.credential-item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--primary-green); }

/* ─────────────────────────────────────────
   QUIZ SECTION (fundo claro)
───────────────────────────────────────── */
.quiz-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.quiz-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
    font-weight: 700;
    font-family: var(--heading-font);
}

.quiz-wrapper {
    max-width: 680px;
    margin: 0 auto;
}

/* Progress dots */
.quiz-progress-wrap {
    margin-bottom: 2.5rem;
    text-align: center;
}

.quiz-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 0.75rem;
}

.quiz-step-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #aaa;
    font-family: var(--heading-font);
    transition: all 0.35s ease;
    flex-shrink: 0;
}

.quiz-step-dot.active {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0,104,55,0.4);
    transform: scale(1.12);
}

.quiz-step-dot.done {
    background: var(--primary-yellow);
    color: var(--primary-green);
    transform: scale(1);
}

.quiz-step-line {
    height: 3px;
    width: 80px;
    background: #e0e0e0;
    transition: background 0.35s ease;
    flex-shrink: 0;
}

.quiz-step-line.done { background: var(--primary-yellow); }

/* Quiz card */
.quiz-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 3rem;
    min-height: 280px;
    display: flex;
    align-items: stretch;
}

/* Questions */
.quiz-question {
    display: none;
    flex-direction: column;
    width: 100%;
    animation: fadeInTab 0.35s ease;
}

.quiz-question.active { display: flex; }

.quiz-q-title {
    color: var(--primary-green);
    font-size: 1.4rem;
    font-weight: 700;
    font-family: var(--heading-font);
    margin-bottom: 2rem;
    line-height: 1.4;
    text-align: center;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.quiz-option {
    width: 100%;
    padding: 1.1rem 1.5rem;
    background: var(--light-bg);
    border: 2px solid #e8f5e8;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-gray);
    font-family: var(--heading-font);
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
}

.quiz-option:hover {
    background: #f0f9f0;
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateX(4px);
}

.quiz-option.selected {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
}

/* Result */
.quiz-result {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    animation: fadeInTab 0.4s ease;
}

.quiz-result.active { display: flex; }

.result-phase-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    --phase-color: var(--primary-green);
}

.result-phase-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--phase-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.result-phase-icon svg { width: 34px; height: 34px; }

.result-phase-name {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--phase-color);
    font-family: var(--heading-font);
}

.result-title {
    color: var(--primary-green);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--heading-font);
    margin-bottom: 1rem;
}

.result-text {
    color: var(--medium-gray);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 2rem;
}

.result-cta {
    margin-bottom: 1.2rem;
}

.quiz-restart {
    background: none;
    border: none;
    color: var(--medium-gray);
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
    transition: color 0.2s;
}

.quiz-restart:hover { color: var(--primary-green); }

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .quiz-section { padding: 60px 0; }
    .quiz-card { padding: 2rem 1.5rem; }
    .quiz-q-title { font-size: 1.2rem; }
    .quiz-step-line { width: 50px; }
    .quiz-section h2 { font-size: 2rem; }
}

/* ─── CONTACT (fundo verde escuro) ─── */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #005530 0%, #003a20 100%);
}

.contact h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 700;
    font-family: var(--heading-font);
}

.contact-intro {
    text-align: center;
    font-size: 1.15rem;
    max-width: 760px;
    margin: 0 auto 3rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.75;
}

.consultoria-form {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.consultoria-form input,
.consultoria-form textarea,
.form-select {
    padding: 15px 20px;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, background 0.3s ease;
    background: rgba(255,255,255,0.96);
    color: var(--text-color);
    width: 100%;
}

.consultoria-form input:focus,
.consultoria-form textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-yellow);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(249,220,0,0.2);
}

.consultoria-form input::placeholder,
.consultoria-form textarea::placeholder { color: #888; }

.form-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006837' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 44px;
    background-color: rgba(255,255,255,0.96);
}

.consultoria-form button {
    background: var(--primary-yellow);
    color: var(--primary-green);
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 6px 20px rgba(249,220,0,0.3);
}

.consultoria-form button:hover {
    background: #f5d800;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(249,220,0,0.45);
}

/* Form groups */
.form-group { margin-bottom: 0.25rem; }

.form-label {
    display: block;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-family: var(--heading-font);
    letter-spacing: 0.03em;
}

/* Culture checkboxes */
.cultures-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.75rem;
}

.cultures-error {
    background: rgba(254,226,226,0.95);
    border: 1px solid #fca5a5;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.culture-checkbox { position: relative; }

.culture-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%; height: 100%;
    margin: 0; z-index: 2;
    padding: 0; border: none;
}

.culture-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.1rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    background: rgba(255,255,255,0.95);
    cursor: pointer;
    transition: all 0.25s ease;
    font-weight: 500;
    color: var(--dark-gray);
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
}

.culture-label::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--primary-green);
    transform: scaleY(0);
    transition: transform 0.25s ease;
    border-radius: 0 2px 2px 0;
}

.culture-label::after {
    content: '';
    width: 18px; height: 18px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background: white;
    transition: all 0.25s ease;
    position: relative;
    flex-shrink: 0;
}

.culture-label:hover { border-color: rgba(255,255,255,0.8); background: var(--white); }
.culture-label:hover::before { transform: scaleY(1); }
.culture-label:hover::after { border-color: var(--primary-green); }

.culture-checkbox input[type="checkbox"]:checked + .culture-label::before { transform: scaleY(1); }
.culture-checkbox input[type="checkbox"]:checked + .culture-label {
    border-color: rgba(255,255,255,0.6);
    background: var(--white);
}
.culture-checkbox input[type="checkbox"]:checked + .culture-label::after {
    background: var(--primary-green);
    border-color: var(--primary-green);
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m13.854 3.646-7.5 7.5a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6 10.293l7.146-7.147a.5.5 0 0 1 .708.708z'/%3e%3c/svg%3e");
    background-size: 11px; background-position: center; background-repeat: no-repeat;
}

/* Objective radios */
.objective-options { display: flex; flex-direction: column; gap: 0.75rem; }

.objective-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    background: rgba(255,255,255,0.95);
    cursor: pointer;
    transition: all 0.25s ease;
}

.objective-option:hover { border-color: var(--primary-yellow); background: var(--white); }

.objective-option label {
    cursor: pointer;
    font-weight: 500;
    color: var(--dark-gray);
    flex: 1;
    line-height: 1.4;
    font-size: 0.95rem;
}

.objective-option input[type="radio"] {
    width: 18px; height: 18px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--primary-green);
    padding: 0; border: none; position: relative; opacity: 1;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer { background: var(--dark-gray); color: var(--white); padding: 3rem 0; }

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo img { height: 60px; width: auto; }
.footer-info p { color: #ccc; font-size: 0.95rem; }

/* ─────────────────────────────────────────
   FLOATING CTA
───────────────────────────────────────── */
.floating-quote-btn {
    position: fixed;
    bottom: 20px; right: 20px;
    background: linear-gradient(135deg, var(--primary-yellow), #f5d800);
    color: var(--primary-green);
    padding: 12px 18px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(249,220,0,0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    display: flex; align-items: center; gap: 8px;
    min-width: 170px; justify-content: center;
    border: 1px solid rgba(0,104,55,0.2);
    animation: floatingBounce 3s ease-in-out infinite;
}

.floating-quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(249,220,0,0.4);
    color: var(--primary-green);
    text-decoration: none;
    animation-play-state: paused;
}

@keyframes floatingBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    10% { transform: translateY(-4px); }
    30% { transform: translateY(-2px); }
}

.floating-quote-btn .quote-icon {
    background: var(--primary-green);
    color: var(--primary-yellow);
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ─────────────────────────────────────────
   MOBILE
───────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: 50%;
        top: 88px;
        transform: translateX(-50%) translateY(-20px);
        flex-direction: column;
        background: linear-gradient(135deg, var(--primary-green), rgba(0,104,55,0.97));
        backdrop-filter: blur(10px);
        width: 280px;
        text-align: center;
        box-shadow: 0 15px 35px rgba(0,0,0,0.2);
        padding: 1.5rem 0;
        gap: 0.5rem;
        border-radius: 15px;
        border: 1px solid rgba(255,255,255,0.1);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        max-height: 80vh;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .portfolio-dropdown {
        position: static !important;
        opacity: 1 !important; visibility: visible !important; transform: none !important;
        background: rgba(0,104,55,0.7);
        border-radius: 8px; margin: 0.5rem 0 0 0; padding: 0;
        max-height: 0; overflow: hidden;
        transition: max-height 0.3s ease;
        width: 100%; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    }

    .portfolio-menu.active .portfolio-dropdown { max-height: 400px; }

    .portfolio-dropdown a {
        display: block; padding: 0.8rem 1.2rem !important;
        color: var(--white) !important; font-weight: 600 !important;
        font-size: 1rem !important; text-transform: uppercase !important;
        letter-spacing: 0.08em !important;
    }

    .nav-menu li { padding: 0; margin: 0 1.5rem; }
    .nav-menu li:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.08); }
    .nav-menu a { display: block; padding: 1rem 0; font-size: 1.1rem; font-weight: 600; border-radius: 8px; }
    .nav-menu a:hover { color: var(--primary-yellow); border-bottom-color: transparent; }

    .hamburger { display: flex; z-index: 1001; transition: transform 0.3s ease; }
    .hamburger.active { transform: rotate(90deg); }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px,-6px); }

    .hero { height: 85vh; min-height: 500px; }
    .hero-content { padding: 30px 20px 50px; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.05rem; }

    .why-section h2, .services h2, .expert h2, .process h2, .contact h2 { font-size: 2rem; }
    .why-section, .services, .process, .expert, .contact { padding: 60px 0; }

    .services-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

    .expert-layout { grid-template-columns: 1fr; }
    .expert-photo { height: 280px; min-height: unset; }
    .expert-photo::after { display: none; }
    .expert-info { padding: 2rem; border-left: none; border-top: 6px solid var(--primary-yellow); }

    .form-row { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; }

    .floating-quote-btn {
        bottom: 15px; right: 15px;
        padding: 10px 14px; font-size: 0.8rem;
        min-width: 140px; gap: 6px; border-radius: 30px;
    }

    .floating-quote-btn .quote-icon { width: 24px; height: 24px; }

    .certifications-logos { gap: 1.5rem; }
    .certification-logo { max-height: 90px; max-width: 180px; }
}

@media (max-width: 480px) {
    .lang-float { left: 10px; bottom: 12px; }
    .steps-grid { grid-template-columns: 1fr; }
    .cultures-selection { grid-template-columns: 1fr 1fr; }
    .floating-quote-btn { min-width: 120px; font-size: 0.75rem; bottom: 12px; right: 10px; }
}

@media (max-width: 375px) {
    .cultures-selection { grid-template-columns: 1fr; }
}
