@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #0A192F;
    --secondary-color: #112240;
    --accent-color: #64FFDA;
    --text-color: #a8b2d1;
    --heading-color: #ccd6f6;
    --background-color: #0A192F;
    --footer-color: #0A192F;
    --border-color: #233554;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

header {
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: top 0.3s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.language-selector {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

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

nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--heading-color);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent-color);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
}

main {
    padding-top: 80px; 
}

section {
    padding: 80px 10%;
    text-align: center;
    scroll-margin-top: 100px;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--heading-color);
    font-weight: 700;
}

.subtitulo {
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    color: var(--text-color);
}

#inicio {
    background-color: var(--background-color);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 0;
}

.eyebrow {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--heading-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 24px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

.cta-button {
    background-color: transparent;
    color: var(--accent-color);
    padding: 14px 26px;
    text-decoration: none;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

.cta-button.ghost {
    border-color: var(--border-color);
    color: var(--heading-color);
}

.disclaimer {
    margin-top: 18px;
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Trust / Framework badges */
#trust .badges,
#frameworks .badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 auto 24px auto;
}

.badges .badge {
    border: 1px solid var(--border-color);
    color: var(--heading-color);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    background: rgba(100, 255, 218, 0.06);
    position: relative;
    cursor: help;
}

.badge[data-tooltip] {
    position: relative;
}

.badge[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 16px;
    background: var(--secondary-color);
    color: var(--text-color);
    font-size: 0.9rem;
    border-radius: 6px;
    width: max-content;
    max-width: 300px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
    text-align: left;
    line-height: 1.5;
}

.badge[data-tooltip]::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--secondary-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.badge[data-tooltip]:hover::before,
.badge[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
}

.badges.wrap {
    flex-wrap: wrap;
}

/* Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.metric-card {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 20px;
    text-align: left;
}

.metric-card h4 {
    color: var(--heading-color);
    margin-bottom: 6px;
}

/* Serviços */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    text-align: left;
    margin-top: 50px;
}

.servico-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.servico-item h3 {
    color: var(--heading-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Metodologia */
#metodologia ul {
    list-style: none;
    max-width: 900px;
    margin: 50px auto 0 auto;
    text-align: left;
}

#metodologia li {
    background-color: var(--secondary-color);
    margin-bottom: 15px;
    padding: 25px;
    border-left: 3px solid var(--accent-color);
    border-radius: 4px;
}

#metodologia li span {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.nota-legal {
    margin-top: 16px;
    font-size: 0.95rem;
    color: var(--text-color);
}

/* Frameworks section inherits badges */

/* Planos */
#planos {
     background-color: var(--secondary-color);
}

.planos-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.plano {
    background-color: var(--primary-color);
    padding: 40px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    width: 350px;
    text-align: left;
    transition: transform 0.3s ease;
}

.plano:hover {
    transform: translateY(-5px);
}

.plano h3 {
    text-align: center;
    color: var(--heading-color);
}

.plano .preco {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-color);
    text-align: center;
    margin: 20px 0;
}

.plano ul {
    list-style: none;
    margin: 20px 0;
}

.plano ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.plano ul li::before {
    content: '›';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.cta-button-plano {
    display: block;
    width: 100%;
    text-align: center;
    background-color: transparent;
    color: var(--accent-color);
    padding: 15px;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid var(--accent-color);
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.cta-button-plano:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

.bonus-text {
    margin-top: 40px;
    font-style: italic;
    color: var(--text-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ */
.faq-list {
    max-width: 900px;
    margin: 30px auto 0 auto;
    text-align: left;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--secondary-color);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    text-align: left;
    background: transparent;
    color: var(--heading-color);
    border: none;
    padding: 18px 20px;
    font-size: 1rem;
    cursor: pointer;
}

.faq-a {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    opacity: 0;
}

.faq-item.open .faq-a {
    padding: 0 20px 18px 20px;
    max-height: 200px;
    opacity: 1;
}

/* Sectors */
#sectors .hint {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 6px;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
    text-align: left;
}

.sector-card {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 22px;
}

.sector-card h3 {
    color: var(--heading-color);
    margin-bottom: 8px;
}

.company-list {
    list-style: none;
}

.company-list li {
    margin: 6px 0;
    color: var(--text-color);
}

/* Contato */
#contato {
    padding-bottom: 80px;
}

#contact-form {
    max-width: 800px;
    margin: 40px auto;
    background: linear-gradient(145deg, rgba(17, 34, 64, 0.6), rgba(10, 25, 47, 0.8));
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.contact-info {
    max-width: 700px;
    margin: 10px auto 0 auto;
}

.contact-name {
    color: var(--heading-color);
    font-weight: 700;
}

.contact-phones {
    margin-top: 6px;
}

.phone-link {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
}

.btn-phone {
    border-color: var(--accent-color);
}

.btn-whatsapp {
    border-color: #25D366;
    color: #25D366;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--heading-color);
    font-weight: 500;
}

#contact-form input,
#contact-form textarea,
#contact-form select {
    width: 100%;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(17, 34, 64, 0.5);
    color: var(--heading-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

#contact-form textarea[name="details"] {
    min-height: 180px;
    resize: vertical;
    line-height: 1.6;
}

#contact-form input:focus,
#contact-form textarea:focus,
#contact-form select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.1);
    background: rgba(17, 34, 64, 0.8);
}

#contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364FFDA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(17, 34, 64, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-item:hover {
    background: rgba(17, 34, 64, 0.8);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.form-notice {
    margin: 32px 0;
    padding: 24px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(100, 255, 218, 0.05), rgba(100, 255, 218, 0.02));
    border: 1px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.form-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    border-radius: 4px 0 0 4px;
}

.form-notice p {
    color: var(--heading-color);
    margin-bottom: 8px;
}

.form-notice ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.form-notice li {
    color: var(--text-color);
    margin: 4px 0;
    padding-left: 20px;
    position: relative;
}

.form-notice li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: var(--text-color);
}

#contact-form .checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-color);
}

#contact-form button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, var(--accent-color), #4DFFB8);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 16px;
    position: relative;
    overflow: hidden;
}

#contact-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

#contact-form button:hover::before {
    left: 100%;
}

#contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
}

/* Footer */
footer {
    background-color: var(--footer-color);
    color: var(--text-color);
    text-align: center;
    padding: 25px 5%;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

/* Referências de Mercado */
.refs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
    text-align: left;
}

.ref-card {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 22px;
}

.ref-card h3 {
    color: var(--heading-color);
    margin-bottom: 6px;
}

.ref-card .desc {
    color: var(--text-color);
    margin-bottom: 10px;
}

.ref-card .equivalencia {
    list-style: none;
}

.ref-card .equivalencia li {
    position: relative;
    padding-left: 18px;
}

.ref-card .equivalencia li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}
