/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - HSL values */
    --background: hsl(0, 0%, 98%);
    --foreground: hsl(0, 0%, 15%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(0, 0%, 15%);
    --primary: hsl(0, 0%, 20%);
    --primary-foreground: hsl(0, 0%, 98%);
    --secondary: hsl(0, 0%, 92%);
    --secondary-foreground: hsl(0, 0%, 20%);
    --muted: hsl(0, 0%, 92%);
    --muted-foreground: hsl(0, 0%, 45%);
    --accent: hsl(0, 0%, 35%);
    --accent-foreground: hsl(0, 0%, 98%);
    --destructive: hsl(0, 84.2%, 60.2%);
    --destructive-foreground: hsl(0, 0%, 100%);
    --border: hsl(0, 0%, 88%);
    --input: hsl(0, 0%, 88%);
    --ring: hsl(0, 0%, 20%);

    /* Stone palette for Hero */
    --stone-50: hsl(60, 9%, 98%);
    --stone-600: hsl(25, 5%, 45%);
    --stone-700: hsl(24, 6%, 38%);
    --stone-800: hsl(25, 5%, 25%);
    --stone-900: hsl(24, 10%, 10%);

    --radius: 0.5rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1 {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Navbar */
.navbar {
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo img {
    height: 2rem;
}

.nav-links {
    display: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

@media (min-width: 768px) {
    .logo img {
        height: 2.5rem;
    }
    
    .nav-links {
        display: flex;
    }
}

/* Hero Section */
.hero {
    background-color: var(--stone-50);
    color: var(--stone-800);
    padding: 4rem 0;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 28rem;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.hero-description {
    text-align: center;
    max-width: 28rem;
}

.hero-description p {
    font-size: 0.875rem;
    color: var(--stone-600);
    line-height: 1.6;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--stone-600);
    line-height: 1.6;
}

.hero-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--stone-700);
}

.hero-phone p {
    margin: 0;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Icons */
.icon {
    width: 1.5rem;
    height: 1.5rem;
}

.icon-lg {
    width: 2rem;
    height: 2rem;
}

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--muted);
}

.icon-wrapper.icon-destructive {
    background-color: hsl(0, 84.2%, 95%);
    color: var(--destructive);
}

.text-destructive {
    color: var(--destructive);
}

.text-primary {
    color: var(--primary);
}

.text-muted {
    color: var(--muted-foreground);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: hsl(0, 0%, 15%);
}

.btn-dark {
    background-color: var(--stone-900);
    color: var(--primary-foreground);
}

.btn-dark:hover {
    background-color: var(--stone-800);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* Cards */
.card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.border-left-destructive {
    border-left: 4px solid var(--destructive);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

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

.section-content {
    max-width: 1024px;
    margin: 0 auto;
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-top: 1rem;
}

/* Problem Section */
.problem-section {
    background-color: var(--background);
}

.problem-cards {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .problem-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Alert */
.alert {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-top: 2rem;
}

.alert-info {
    background-color: hsl(204, 94%, 94%);
    border: 1px solid hsl(204, 94%, 84%);
    color: hsl(204, 94%, 20%);
}

.alert ul {
    list-style: none;
    padding-left: 0;
    margin: 0.5rem 0;
}

.alert li {
    margin: 0.5rem 0;
}

.alert h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Solution Section */
.solution-section {
    background-color: var(--muted);
}

.solution-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* Differential Section */
.differential-section {
    background: linear-gradient(135deg, var(--stone-50) 0%, var(--muted) 100%);
}

.quote-card {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.quote-icon {
    width: 3rem;
    height: 3rem;
    color: var(--muted-foreground);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.quote-card blockquote {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

.differential-card {
    display: grid;
    gap: 2rem;
    align-items: center;
    background-color: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.differential-image img {
    width: 100%;
    border-radius: var(--radius);
}

.differential-content h2 {
    margin-bottom: 1rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .differential-card {
        grid-template-columns: 1fr 2fr;
    }
}

/* Offer Section */
.offer-section {
    background-color: var(--background);
}

.offer-card {
    background-color: var(--card);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.offer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.offer-header h2 {
    margin: 0;
}

.offer-content {
    text-align: center;
}

.offer-description {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.benefits-list-simple {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 600px;
    margin: 2rem auto;
}

.benefits-list-simple li {
    padding: 0.5rem 0;
    font-size: 1.125rem;
}

/* Proof Section */
.proof-section {
    background-color: var(--muted);
}

.carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    display: none;
    animation: fadeIn 0.5s;
}

.carousel-item.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.proof-card {
    background-color: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.proof-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.proof-content {
    padding: 2rem;
}

.proof-content h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.proof-description {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.proof-result {
    background-color: hsl(142, 76%, 95%);
    border-left: 4px solid hsl(142, 76%, 36%);
    padding: 1rem;
    border-radius: 0.25rem;
    margin-top: 1rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background-color: var(--muted);
}

.carousel-btn svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--foreground);
}

.carousel-prev {
    left: -1rem;
}

.carousel-next {
    right: -1rem;
}

@media (min-width: 768px) {
    .carousel-prev {
        left: -4rem;
    }
    
    .carousel-next {
        right: -4rem;
    }
}

/* Urgency Section */
.urgency-section {
    background-color: var(--background);
}

.urgency-card {
    background-color: hsl(0, 84.2%, 98%);
    border: 2px solid var(--destructive);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.urgency-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.urgency-header h2 {
    margin: 0;
    color: var(--destructive);
}

.urgency-description {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.urgency-warning {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--destructive);
}

.urgency-consequences {
    background-color: var(--card);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.urgency-consequences h3 {
    margin-bottom: 1rem;
}

.urgency-consequences ul {
    list-style: none;
    padding: 0;
}

.urgency-consequences li {
    padding: 0.5rem 0;
    font-size: 1.125rem;
}

/* FAQ Section */
.faq-section {
    background-color: var(--muted);
}

.accordion {
    max-width: 768px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: var(--muted);
}

.accordion-icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.accordion-content p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background-color: var(--background);
}

.contact-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--input);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 3px hsl(0, 0%, 20%, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--stone-900);
    color: var(--stone-600);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 2.5rem;
}

.footer-section h3 {
    color: var(--primary-foreground);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--stone-600);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-foreground);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.footer-contact a {
    color: var(--stone-600);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--primary-foreground);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--stone-800);
    border-radius: 50%;
    color: var(--primary-foreground);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--stone-700);
}

.footer-social svg {
    width: 1.5rem;
    height: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--stone-800);
    padding-top: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    width: 4rem;
    height: 4rem;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 2rem;
    height: 2rem;
}

.whatsapp-tooltip {
    position: absolute;
    right: 100%;
    margin-right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--stone-900);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Utility Classes */
.text-center {
    text-align: center;
}


/* Seção da calculadora de INSS */
.calculator-section {
    padding: 4rem 0;
    background: #0b1120;          /* se ficar muito escuro, pode trocar para #ffffff */
    color: #f9fafb;
}

.calculator-section .section-header h2 {
    margin-bottom: 0.5rem;
}

.calculator-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: flex-start;
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }
}

.calculator-form {
    background: rgba(15,23,42,0.7);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(148,163,184,0.35);
    backdrop-filter: blur(6px);
}

.calculator-form h3 {
    margin-bottom: 1rem;
}

.calculator-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.calculator-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.calculator-form label {
    font-size: 0.9rem;
    color: #e5e7eb;
}

.calculator-form input {
    border-radius: 0.5rem;
    border: 1px solid #4b5563;
    padding: 0.65rem 0.8rem;
    background: #020617;
    color: #f9fafb;
    font-size: 0.95rem;
}

.calculator-form input:focus {
    outline: none;
    border-color: #f97316; /* mesma cor que você usar nos botões de destaque */
}

.calculator-form .btn-full {
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
    text-align: center;
}

.calculator-note {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #9ca3af;
}

.card-like {
    background: #020617;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(148,163,184,0.35);
}

.calculator-results h3 {
    margin-bottom: 1.5rem;
}

.result-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(148,163,184,0.4);
    font-size: 0.95rem;
}

.result-row span {
    color: #e5e7eb;
}

.result-row strong {
    font-weight: 600;
}

.result-row.result-highlight {
    border-top: 2px solid #22c55e;
    border-bottom: none;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    font-size: 1rem;
}

.result-row.result-highlight strong {
    color: #22c55e;
    font-size: 1.1rem;
}

.calculator-cta {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calculator-cta p {
    margin: 0;
}

.calculator-cta .small {
    font-size: 0.85rem;
    color: #9ca3af;
}


.calculator-section .select-group {
    position: relative;
}

/* Aparência dos selects */
.calculator-section .select-group select {
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid #4b5563;              /* borda cinza-escuro */
    padding: 0.65rem 2.4rem 0.65rem 0.85rem;/* espaço extra à direita por causa da setinha */
    background-color: #020617;              /* fundo escuro (match com seção escura) */
    color: #f9fafb;                         /* texto claro */
    font-size: 0.95rem;
    line-height: 1.4;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* Placeholder "Selecione" mais clarinho */
.calculator-section .select-group select option[disabled][selected] {
    color: #9ca3af;
}

/* Estado focado */
.calculator-section .select-group select:focus {
    border-color: #f97316; /* mesmo laranja que você usa nos destaques */
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.35);
    background-color: #020617;
}

/* Setinha customizada do select */
.calculator-section .select-group::after {
    content: "";
    position: absolute;
    pointer-events: none;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid #9ca3af;
    border-bottom: 2px solid #9ca3af;
}

/* Em telas menores, garante que continue confortável */
@media (max-width: 768px) {
    .calculator-section .select-group select {
        font-size: 0.9rem;
        padding: 0.6rem 2.2rem 0.6rem 0.75rem;
    }
}

/* Linha específica do INSS pela alíquota padrão */
.calculator-results .result-inss-padrao {
    border-bottom: 1px dashed rgba(248, 113, 113, 0.8);
    background: rgba(127, 29, 29, 0.12);
}

.calculator-results .result-inss-padrao span {
    color: #fecaca; /* texto mais claro */
}

.calculator-results .result-inss-padrao strong {
    color: #f87171; /* vermelho suave */
    font-weight: 700;
}

/* Mobile: colocar o texto (hero-right) acima da foto (hero-left) */
@media (max-width: 767px) {
  .hero-right {
    order: -1;  /* vem primeiro */
  }

  .hero-left {
    order: 0;   /* vem depois (valor padrão) */
  }
}