/* CSS VARIABLES / DESIGN TOKENS */
:root {
    /* Colors - Primary */
    --color-primary: #1e3a5f;
    --color-primary-dark: #142840;
    --color-primary-light: #2d5a8f;
    
    /* Colors - Secondary */
    --color-secondary: #4ba3d4;
    --color-secondary-light: #7bbfe8;
    --color-secondary-lighter: #e8f4fb;
    
    /* Colors - Accent */
    --color-accent: #2d9c5b;
    --color-accent-light: #5bb882;
    --color-warning: #f5a623;
    
    /* Colors - Text */
    --color-text: #1a1a1a;
    --color-text-secondary: #555555;
    --color-text-light: #888888;
    --color-text-muted: #aaaaaa;
    --color-text-inverse: #ffffff;
    
    /* Colors - Background */
    --color-bg: #ffffff;
    --color-bg-secondary: #f9f9f9;
    --color-bg-alt: #f0f4f8;
    --color-bg-dark: #1e3a5f;
    
    /* Colors - Border */
    --color-border: #e0e0e0;
    --color-border-light: #f0f0f0;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Container */
    --container-width: 1200px;
    --container-padding: var(--space-lg);
    
    /* Typography */
    --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-family-heading: var(--font-family-base);
    
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Z-index */
    --z-sticky: 100;
    --z-header: 1000;
    --z-modal: 2000;
}

/* RESET & DEFAULTS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background-color: var(--color-bg);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: 700;
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-lg);
    color: var(--color-primary);
}

h1 {
    font-size: clamp(1.875rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

h4 {
    font-size: var(--font-size-lg);
}

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: var(--color-secondary-light);
    outline: none;
}

a:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.btn-icon {
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 auto;
    vertical-align: -0.18em;
    margin-right: var(--space-sm);
}

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

.btn:active,
.cta-secondary:active,
.header-phone:active,
.faq-cta:active,
.btn-whatsapp-sticky:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    border-color: var(--color-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

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

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
}

.btn-block {
    width: 100%;
    display: block;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border-light);
    padding: var(--space-md) 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

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

.logo-icon {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--color-primary);
    display: none;
}

.logo-text {
    display: none;
}

.logo-subtitle {
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-nav {
    flex: 1;
    display: none;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-primary);
    font-weight: 600;
    white-space: nowrap;
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: #25d366;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: none;
    list-style: none;
    flex-direction: column;
    gap: var(--space-md);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border-light);
    padding: var(--space-lg) var(--container-padding);
}

.nav-menu.active {
    display: flex;
}

.nav-menu a {
    color: var(--color-text);
    font-weight: 500;
}

.hidden-mobile {
    display: none;
}

/* HERO */
.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
    padding: var(--space-3xl) 0;
    overflow: hidden;
    padding: 30px;
}

.hero-content {
    order: 2;
}

.hero-eyebrow {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.hero-title {
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    line-height: var(--line-height-relaxed);
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.hero-ctas #whatsappHero {
    align-self: flex-start;
    width: auto;
}

.hero-microcopy {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.hero-location {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text-secondary);
}

.hero-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius-lg);
    order: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

/* STICKY CTA */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    z-index: var(--z-sticky);
}

.btn-whatsapp-sticky {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background-color: var(--color-accent);
    color: white;
    padding: var(--space-md) var(--space-lg);
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    transition: all 0.2s ease;
}

.btn-whatsapp-sticky .btn-icon {
    width: 20px;
    height: 20px;
    margin: 0;
}

.btn-whatsapp-sticky:hover,
.btn-whatsapp-sticky:focus {
    background-color: #237a47;
    transform: scale(1.05);
    color: white !important;
}

/* BREAKTHROUGH SECTION */
.breakthrough {
    background-color: var(--color-bg-alt);
    padding: var(--space-3xl) 0;
}

.breakthrough .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.breakthrough-content h2 {
    color: var(--color-primary);
}

.breakthrough-text {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-lg);
}

.breakthrough-highlight {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-accent);
}

.breakthrough-images {
    display: flex;
    justify-content: center;
}

.breakthrough-images img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--radius-lg);
}

/* DECISION SECTION */
.decision {
    padding: var(--space-3xl) 0;
}

.decision h2 {
    text-align: center;
    color: var(--color-primary);
    margin-bottom: var(--space-2xl);
}

.decision-content {
    max-width: 800px;
    margin: 0 auto;
}

.decision-text {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    text-align: center;
    margin-bottom: var(--space-xl);
}

/* LIFE SECTION */
.life {
    background-color: var(--color-bg-secondary);
    padding: var(--space-3xl) 0;
}

.life h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-intro {
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: var(--space-2xl);
}

.life-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.life-card {
    background-color: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.life-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.life-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    height: 200px;
}

.life-card h3 {
    padding: var(--space-lg);
    font-size: var(--font-size-lg);
    color: var(--color-primary);
    margin: 0;
}

.life-highlight {
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

/* DIFFERENTIALS */
.differentials {
    padding: var(--space-3xl) 0;
}

.differentials h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.differential-card {
    background-color: var(--color-bg-alt);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.2s ease;
}

.differential-card:hover {
    background-color: var(--color-secondary-lighter);
    transform: translateY(-4px);
}

.card-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto var(--space-lg);
    border: 1px solid rgba(30, 58, 95, 0.14);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.62);
    color: var(--color-primary);
}

.card-icon svg {
    width: 27px;
    height: 27px;
}

.differential-card h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.differential-card p {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

/* TRANSPARENCY */
.transparency {
    background: linear-gradient(135deg, var(--color-primary) 0%, #315f94 100%);
    color: var(--color-text-inverse);
    padding: var(--space-3xl) 0;
    text-align: center;
}

.transparency-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 0 auto var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.transparency-icon svg {
    width: 32px;
    height: 32px;
}

.transparency-eyebrow {
    margin-bottom: var(--space-sm);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.transparency h2 {
    color: var(--color-text-inverse);
    text-align: center;
    max-width: 820px;
    margin: 0 auto var(--space-xl);
}

.transparency-content {
    max-width: 600px;
    margin: 0 auto;
}

.transparency-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    background-color: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--color-text-inverse);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    font-weight: 600;
}

.transparency-badge span {
    font-size: 1.25rem;
}

.transparency-highlight > p:not(.transparency-badge) {
    text-align: center;
    margin-bottom: var(--space-lg);
    line-height: var(--line-height-relaxed);
    color: rgba(255, 255, 255, 0.9);
}

.transparency-content .transparency-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    margin-top: var(--space-xl);
    background-color: #fff;
    border-color: #fff;
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.transparency-content .transparency-cta:hover,
.transparency-content .transparency-cta:focus {
    background-color: var(--color-bg-alt);
    border-color: var(--color-bg-alt);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.transparency-note {
    margin: var(--space-md) 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: var(--font-size-sm);
}

/* GALLERY */
.gallery {
    padding: var(--space-3xl) 0;
}

.gallery h2 {
    text-align: center;
}

.gallery .section-intro {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform 0.2s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

.gallery-cta {
    text-align: center;
}

/* FAQ */
.faq {
    background-color: var(--color-bg-secondary);
    padding: var(--space-3xl) 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.faq-item {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-item summary {
    padding: var(--space-lg);
    cursor: pointer;
    font-weight: 600;
    color: var(--color-primary);
    user-select: none;
    transition: background-color 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary:hover {
    background-color: var(--color-bg-alt);
}

.faq-item summary::marker {
    color: var(--color-secondary);
}

.faq-content {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

.faq-content a {
    color: var(--color-secondary);
}

/* FINAL CTA */
.final-cta {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    padding: var(--space-3xl) 0;
    text-align: center;
}

.final-cta h2 {
    color: var(--color-text-inverse);
    margin-bottom: var(--space-lg);
}

.final-cta > .container > p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xl);
    line-height: var(--line-height-relaxed);
}

.final-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.final-cta .btn {
    margin: 0 auto;
    max-width: 100%;
    width: auto;
}

.final-cta .whatsapp-final-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: var(--space-lg) var(--space-xl);
    background-color: #fff;
    border-color: #fff;
    color: #1a1a1a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.final-cta .whatsapp-final-cta:hover,
.final-cta .whatsapp-final-cta:focus {
    background-color: var(--color-bg-alt);
    border-color: var(--color-bg-alt);
    color: #1a1a1a;
    transform: translateY(-2px);
}

.final-cta .whatsapp-final-cta .btn-icon {
    width: 20px;
    height: 20px;
}

.final-cta-info {
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.final-cta-title {
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.final-cta-location {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

/* FORM SECTION */
.form-section {
    padding: var(--space-3xl) 0;
    background-color: var(--color-bg-secondary);
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color-bg);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-wrapper h2 {
    text-align: center;
    margin-bottom: var(--space-sm);
}

.form-wrapper > p {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: var(--space-2xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: var(--font-size-base);
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(45, 156, 91, 0.1);
}

.form-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.form-checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-md);
}

.form-checkbox label {
    font-weight: normal;
    margin: 0;
}

.form-error {
    font-size: var(--font-size-sm);
    color: #e74c3c;
    display: none;
}

.form-error.show {
    display: block;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.form-loading {
    text-align: center;
    color: var(--color-accent);
    font-weight: 600;
}

.form-success {
    background-color: #d4edda;
    color: #155724;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
}

/* FOOTER */
.footer {
    background-color: var(--color-primary-dark);
    color: var(--color-text-inverse);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-section h3,
.footer-section h4 {
    color: var(--color-text-inverse);
    margin-bottom: var(--space-md);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: var(--color-secondary-light);
}

.footer-section ul {
    list-style: none;
}

.footer-location {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--font-size-sm);
    opacity: 0.7;
}

/* RESPONSIVE DESIGN */

/* Tablet (768px+) */
@media (min-width: 768px) {
    .container {
        --container-padding: var(--space-2xl);
    }

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

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .hero-ctas {
        flex-direction: row;
    }

    .hero-ctas .btn {
        flex: 1;
    }

    .hero-ctas #whatsappHero {
        flex: 0 0 auto;
    }

    .header-nav {
        display: block !important;
    }

    .nav-menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        background-color: transparent;
        border: none;
        padding: 0;
        gap: var(--space-xl);
    }

    .nav-toggle {
        display: none;
    }

    .header-nav .cta-secondary {
        display: none;
    }

    .logo-text {
        display: none;
    }

    .hidden-mobile {
        display: inline;
    }

    .breakthrough .container {
        grid-template-columns: 1fr 1fr;
    }

    .breakthrough-content h2,
    .breakthrough-text,
    .breakthrough-highlight {
        text-align: left;
    }

    .sticky-cta {
        display: block;
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .final-cta-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .final-cta-buttons .btn {
        width: auto;
    }

    .form-wrapper {
        padding: var(--space-3xl);
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .differentials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* CONVERSION AND MOBILE OPTIMIZATIONS */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

img {
    max-width: 100%;
}

.container {
    --container-padding: clamp(1rem, 5vw, 1.5rem);
}

.header {
    padding: 0.5rem 0;
}

.logo-image {
    width: clamp(112px, 38vw, 150px);
    max-width: 150px;
}

.btn,
.header-phone,
.faq-item summary,
.faq-cta {
    min-height: 44px;
}

.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.5rem, 5vw, 2.5rem);
    padding: clamp(1.5rem, 6vw, 3.5rem) clamp(1rem, 5vw, 2rem);
}

.hero-content {
    order: 1;
    max-width: 42rem;
    min-width: 0;
}

.hero-eyebrow {
    font-size: clamp(0.68rem, 2.7vw, 0.82rem);
    line-height: 1.45;
    letter-spacing: 0.075em;
}

.hero-title {
    font-size: clamp(1.8rem, 8.5vw, 3rem);
    line-height: 1.14;
    overflow-wrap: break-word;
}

.hero-description {
    margin-bottom: 1.25rem;
    line-height: 1.6;
    overflow-wrap: break-word;
}

.hero-ctas {
    margin-bottom: 0.75rem;
}

.hero-ctas #whatsappHero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 100%;
    min-height: 52px;
    padding: 0.8rem 1rem;
    white-space: normal;
}

.cta-label-short {
    display: inline;
}

.cta-label-full {
    display: none;
}

.hero-microcopy {
    line-height: 1.45;
}

.hero-image {
    order: 2;
    min-width: 0;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg);
}

.hero-image img {
    object-position: 65% center;
}

.trust-strip {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.trust-strip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

.trust-strip p {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    margin: 0;
    padding: 0.65rem 0.35rem;
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.2;
}

.trust-strip p span {
    color: var(--color-accent);
    font-weight: 800;
}

.trust-strip .trust-location {
    grid-column: 1 / -1;
    justify-content: center;
}

.sticky-cta {
    display: none !important;
    position: fixed;
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    left: 0.75rem;
    z-index: var(--z-sticky);
}

.sticky-cta.is-visible {
    display: flex !important;
}

/* No desktop, o CTA flutuante vira um atalho circular discreto. */
@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }

    .sticky-cta.is-visible {
        display: flex !important;
    }

    .sticky-cta {
        right: 1.5rem;
        bottom: 1.5rem;
        left: auto;
    }

    .btn-whatsapp-sticky {
        width: 56px;
        min-height: 56px;
        height: 56px;
        padding: 0;
        border-radius: 50%;
        box-shadow: var(--shadow-lg);
    }

    .btn-whatsapp-sticky .btn-icon {
        width: 24px;
        height: 24px;
    }

    .btn-whatsapp-sticky span {
        display: none;
    }
}

.btn-whatsapp-sticky {
    width: 100%;
    min-height: 52px;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
}

.gallery-question {
    max-width: 46rem;
    margin: -1rem auto var(--space-2xl);
    color: var(--color-text-secondary);
    line-height: 1.55;
    text-align: center;
}

.gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
}

.gallery-grid img {
    aspect-ratio: 4 / 3;
    height: auto;
}

.testimonials {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background-color: var(--color-bg-alt);
}

.reviews-heading {
    display: grid;
    gap: var(--space-lg);
    align-items: center;
    margin-bottom: var(--space-2xl);
}

.reviews-heading h2 {
    margin-bottom: var(--space-sm);
}

.reviews-heading p {
    margin: 0;
    color: var(--color-text-secondary);
    line-height: 1.55;
}

.google-rating {
    display: grid;
    gap: 0.15rem;
    align-content: center;
    justify-items: start;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    background: var(--color-bg);
    border: 1px solid rgba(30, 58, 95, 0.13);
    box-shadow: var(--shadow-sm);
    color: var(--color-primary);
}

.rating-stars,
.testimonial-stars {
    color: var(--color-warning);
    letter-spacing: 0.08em;
}

.google-rating strong {
    font-size: clamp(2rem, 8vw, 2.75rem);
    line-height: 1;
}

.google-rating small {
    color: var(--color-text-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(1.25rem, 5vw, 2rem);
    border: 1px solid rgba(30, 58, 95, 0.13);
    border-radius: var(--radius-lg);
    background: var(--color-bg);
    box-shadow: var(--shadow-sm);
}

.testimonial-featured {
    border-color: rgba(45, 156, 91, 0.45);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    margin-bottom: var(--space-md);
}

.testimonial-card blockquote {
    margin: 0 0 var(--space-lg);
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.65;
}

.testimonial-featured blockquote {
    color: var(--color-primary);
    font-size: 1.06rem;
    font-weight: 600;
}

.author-name {
    margin: auto 0 0;
    color: var(--color-primary);
    font-weight: 700;
}

.testimonial-google-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    min-height: 44px;
    margin-top: 0.35rem;
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.testimonial-google-link:hover,
.testimonial-google-link:focus-visible {
    color: #237a47;
}

.faq-grid {
    grid-template-columns: minmax(0, 1fr);
}

.faq-item summary {
    min-height: 52px;
    padding: 1rem 1.125rem;
    line-height: 1.35;
}

.faq-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.25rem;
    color: var(--color-primary);
    font-weight: 700;
}

.final-cta-eyebrow {
    margin-bottom: var(--space-sm);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.final-cta-microcopy {
    margin: -0.75rem auto 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--font-size-sm);
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 5vw, 3rem);
    }

    .hero-ctas #whatsappHero {
        align-self: flex-start;
        width: auto;
    }

    .cta-label-short {
        display: none;
    }

    .cta-label-full {
        display: inline;
    }

    .trust-strip-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: center;
    }

    .trust-strip p,
    .trust-strip .trust-location {
        grid-column: auto;
        justify-content: center;
        text-align: center;
    }

    .reviews-heading {
        grid-template-columns: minmax(190px, 0.55fr) 1fr;
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .header {
        padding: var(--space-md) 0;
    }

    .logo-image {
        width: 180px;
        max-width: 180px;
    }

    .header-nav {
        display: block !important;
    }

    .nav-menu {
        display: flex !important;
        gap: clamp(0.75rem, 1.5vw, 1.5rem);
    }

    .gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .header-nav {
        display: none !important;
    }
}

