/* ==========================================================================
   Design System & Tokens - Igor Canzi | Psicologia Clínica & Psicanálise
   ========================================================================== */

:root {
    /* Color Palette - Consultório & Psicanálise Contemporânea */
    --primary-color: #1E3125;       /* Deep Cypress / Forest Green - Sobriety, grounding */
    --primary-hover: #142219;       /* Deepest Forest (WCAG AAA) */
    --primary-soft: #2D4536;        /* Balanced Pine Accent */
    
    --secondary-color: #9D7546;     /* Warm Antique Ochre / Raw Umber (Contrast > 4.6:1) */
    --secondary-hover: #825F34;
    --secondary-tint: #F5EFE6;      /* Soft Ochre Surface */
    
    --terracotta-color: #9C5745;    /* Warm Terracotta / Human warmth & empathy (Contrast 5.2:1) */
    --terracotta-tint: #F9ECE8;
    
    --slate-teal: #2D4F55;          /* Introspective Slate Teal (Contrast 6.8:1) */
    --slate-teal-tint: #EBF1F2;
    
    /* Surfaces - Bespoke Mineral Sage & Calm Botanical neutrals */
    --bg-color: #F4F6F3;            /* Pure Mineral Sage Neutral (Contrast > 13:1) */
    --bg-alt: #EBF0EC;              /* Pale Herbal Tint for subtle section transition */
    --surface-card: #FFFFFF;        /* Crisp Elevated Surface */
    --surface-muted: #E2E8E4;       /* Soft Mineral Tint */
    
    /* Typography Colors (WCAG AA & AAA compliant) */
    --text-color: #1E2522;          /* Deep Carbon Charcoal (Contrast > 13:1 on --bg-color) */
    --text-light: #505C55;          /* Refined Sage Slate (Contrast > 5.8:1 on --bg-color) */
    --text-muted: #6E7B74;          /* Soft Slate (Contrast > 4.5:1) */
    --white: #FFFFFF;
    
    /* WhatsApp & Instagram Brand Commitments */
    --wa-green: #25D366;
    --wa-green-dark: #128C7E;
    
    /* Borders & Shadows */
    --border-subtle: rgba(30, 49, 37, 0.08);
    --border-medium: rgba(30, 49, 37, 0.14);
    --border-warm: rgba(157, 117, 70, 0.22);
    --shadow-soft: 0 10px 28px -4px rgba(30, 49, 37, 0.06);
    --shadow-medium: 0 18px 40px -6px rgba(30, 49, 37, 0.09);
    --shadow-elevated: 0 24px 50px -8px rgba(30, 49, 37, 0.13);
    
    /* Motion */
    --transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.65;
    letter-spacing: -0.01em;
}

/* Browser Surface Theming */
::selection {
    background-color: var(--primary-color);
    color: var(--white);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background-color: rgba(36, 53, 43, 0.2);
    border-radius: 5px;
    border: 2px solid var(--bg-color);
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(36, 53, 43, 0.4);
}

/* Typography Scale */
h1, h2, h3, .logo a, .quote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background-color: transparent;
}

header.scrolled {
    background-color: rgba(244, 246, 243, 0.96);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 20px rgba(36, 53, 43, 0.04);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.85rem;
    letter-spacing: 0.02em;
    display: inline-block;
}

.logo a:hover {
    color: var(--secondary-color);
}

.nav-desktop ul {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-desktop ul li a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 0.3rem 0;
}

.nav-desktop ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

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

.nav-desktop ul li a:hover::after,
.nav-desktop ul li a.active::after {
    width: 100%;
}

/* Hamburger Button */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 6px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 380px;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    box-shadow: -10px 0 35px rgba(36, 53, 43, 0.12);
    padding: 2rem;
}

.nav-mobile.active {
    right: 0;
}

.nav-mobile ul {
    text-align: center;
    width: 100%;
}

.nav-mobile ul li {
    margin: 1.8rem 0;
}

.nav-mobile ul li a {
    font-size: 1.6rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    padding: 0.4rem 0;
}

.nav-mobile ul li a:hover {
    color: var(--secondary-color);
}

.nav-mobile-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(36, 53, 43, 0.4);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-mobile-backdrop.active {
    display: block;
    opacity: 1;
}

/* ==========================================================================
   Buttons & Action Components
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.9rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.92rem;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(36, 53, 43, 0.12);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--white);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 130px 0 70px;
    background: radial-gradient(ellipse 70% 60% at 75% 35%, rgba(45, 69, 54, 0.05) 0%, transparent 65%), var(--bg-color);
}

.hero .container {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 4.5rem;
    align-items: center;
}

/* Hero Typography Hierarchy */
.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.35rem;
}

.hero-title-name {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5.2vw, 4.2rem);
    line-height: 1.05;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    font-weight: 600;
}

.hero-title-role {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.5vw, 1.95rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.25;
    color: var(--secondary-color);
    letter-spacing: 0.01em;
}

/* Hero Badges & Modalities */
.hero-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.2rem;
}

.badge-crp {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background-color: var(--surface-card);
    border: 1px solid var(--border-medium);
    padding: 0.5rem 1.05rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(36, 53, 43, 0.04);
    transition: var(--transition);
}

.badge-crp i {
    color: var(--secondary-color);
    font-size: 0.85rem;
}

.badge-crp:hover {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.hero-intro {
    font-size: 1.08rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 620px;
}

.modality-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background-color: var(--surface-card);
    border: 1px solid var(--border-medium);
    padding: 0.5rem 1.05rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.modality-tag--online {
    background-color: var(--slate-teal-tint);
    border-color: rgba(45, 79, 85, 0.22);
    color: var(--slate-teal);
}

.modality-tag--online i {
    color: var(--slate-teal);
    font-size: 0.95rem;
}

.modality-tag--presencial {
    background-color: var(--secondary-tint);
    border-color: rgba(157, 117, 70, 0.26);
    color: var(--secondary-hover);
}

.modality-tag--presencial i {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.hero-ctas {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image .image-wrapper {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 45px -10px rgba(36, 53, 43, 0.16);
    border: 1px solid var(--border-medium);
    background-color: var(--surface-card);
}

.hero-image img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about {
    padding: 7rem 0;
    background-color: var(--surface-card);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.about-header {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.about-header h2 {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    margin-bottom: 2rem;
}

.about-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.85;
    text-align: left;
}

.about-commitments {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
    text-align: left;
    border-top: 1px solid var(--border-subtle);
    padding-top: 3rem;
}

.commitment-item {
    display: flex;
    flex-direction: column;
    padding: 1.6rem;
    background-color: var(--bg-color);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.commitment-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
    border-color: var(--border-warm);
}

.commitment-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.9rem;
}

.commitment-header i {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.commitment-item--escuta .commitment-header i {
    background-color: var(--secondary-tint);
    color: var(--secondary-color);
    border: 1px solid rgba(157, 117, 70, 0.25);
}

.commitment-item--acolhimento .commitment-header i {
    background-color: var(--terracotta-tint);
    color: var(--terracotta-color);
    border: 1px solid rgba(156, 87, 69, 0.25);
}

.commitment-item--sentidos .commitment-header i {
    background-color: rgba(30, 49, 37, 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(30, 49, 37, 0.2);
}

.commitment-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.commitment-item p {
    font-size: 0.93rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ==========================================================================
   Services Section (Especialidades)
   ========================================================================== */

.services {
    padding: 7rem 0;
    background-color: var(--bg-alt);
    border-bottom: 1px solid var(--border-subtle);
}

.services-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 4rem;
}

.services-header h2 {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    margin-bottom: 1rem;
}

.services-intro {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.2rem;
    margin-bottom: 4rem;
}

.service-card {
    background-color: var(--surface-card);
    padding: 2.6rem;
    border-radius: 14px;
    border: 1px solid var(--border-medium);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.service-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1rem;
}

.service-domain {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

/* Service Card Color Variants */
.service-card--clinica:hover {
    border-color: var(--primary-soft);
}
.service-card--clinica .service-domain {
    color: var(--primary-color);
    background-color: rgba(30, 49, 37, 0.08);
}
.service-card--clinica .service-points li::before {
    color: var(--primary-soft);
}

.service-card--supervisao:hover {
    border-color: var(--secondary-color);
}
.service-card--supervisao .service-domain {
    color: var(--secondary-hover);
    background-color: var(--secondary-tint);
}
.service-card--supervisao .service-points li::before {
    color: var(--secondary-color);
}

.service-card--palestras:hover {
    border-color: var(--slate-teal);
}
.service-card--palestras .service-domain {
    color: var(--slate-teal);
    background-color: var(--slate-teal-tint);
}
.service-card--palestras .service-points li::before {
    color: var(--slate-teal);
}

.service-card--modalidades:hover {
    border-color: var(--terracotta-color);
}
.service-card--modalidades .service-domain {
    color: var(--terracotta-color);
    background-color: var(--terracotta-tint);
}
.service-card--modalidades .service-points li::before {
    color: var(--terracotta-color);
}

.service-card h3 {
    font-size: 1.55rem;
}

.service-card p {
    font-size: 0.96rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-points {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border-top: 1px solid rgba(30, 49, 37, 0.06);
    padding-top: 1rem;
}

.service-points li {
    font-size: 0.88rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.service-points li::before {
    content: '—';
    font-weight: 700;
}

.services-cta {
    text-align: center;
    background-color: var(--surface-card);
    padding: 2.5rem;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    max-width: 680px;
    margin: 0 auto;
}

.services-cta p {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.2rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
    padding: 7rem 0;
    background: radial-gradient(ellipse 75% 65% at 50% 18%, rgba(45, 69, 54, 0.05) 0%, transparent 70%), var(--bg-color);
    text-align: center;
}

.contact h2 {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    margin-bottom: 0.8rem;
}

.contact-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 2.8rem;
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
}

.contact-form-wrapper {
    width: 100%;
    background: var(--surface-card);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-warm);
    box-shadow: 0 20px 45px -8px rgba(30, 49, 37, 0.08);
    text-align: left;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease;
}

/* WhatsApp Live Preview (Overdrive) */
.wa-preview-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    text-align: left;
    position: sticky;
    top: 100px;
}

.wa-preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-color);
    background-color: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.35);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    width: fit-content;
}

.wa-preview-badge i {
    color: var(--wa-green);
    font-size: 0.95rem;
}

.wa-phone-frame {
    background-color: #EFEBE4;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-medium);
    box-shadow: 0 22px 50px -10px rgba(30, 49, 37, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.wa-chat-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.9rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wa-chat-avatar img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.wa-chat-user-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.wa-chat-name {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--white);
}

.wa-chat-status {
    font-size: 0.75rem;
    color: #D2D8D4;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.status-dot {
    width: 7px;
    height: 7px;
    background-color: var(--wa-green);
    border-radius: 50%;
    display: inline-block;
}

.wa-chat-body {
    padding: 1.4rem 1.2rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    background-color: #EFEBE4;
    background-image: radial-gradient(rgba(30, 49, 37, 0.035) 1px, transparent 1px);
    background-size: 16px 16px;
    min-height: 290px;
    position: relative;
}

.wa-date-pill {
    align-self: center;
    background-color: rgba(255, 255, 255, 0.85);
    color: var(--text-light);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(30, 49, 37, 0.08);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wa-bubble {
    max-width: 92%;
    align-self: flex-end;
    background-color: #DCF8C6;
    color: #111B21;
    padding: 0.9rem 1.1rem;
    border-radius: 12px 0 12px 12px;
    font-size: 0.88rem;
    line-height: 1.5;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.wa-bubble--outgoing::before {
    content: '';
    position: absolute;
    top: 0;
    right: -8px;
    width: 0;
    height: 0;
    border-top: 10px solid #DCF8C6;
    border-right: 8px solid transparent;
}

.wa-bubble p {
    margin: 0.25rem 0;
}

.wa-bubble-greeting,
.wa-bubble-closing {
    font-weight: 500;
}

.wa-bubble-data {
    margin: 0.5rem 0;
    padding-left: 0.25rem;
    border-left: 2px solid rgba(45, 69, 54, 0.25);
    font-size: 0.84rem;
}

.preview-var {
    font-weight: 700;
    color: var(--primary-color);
    transition: color 0.2s ease;
}

.wa-bubble-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    margin-top: 0.35rem;
    font-size: 0.7rem;
    color: #667781;
}

.wa-bubble-checks {
    color: #53BDEB;
    font-size: 0.78rem;
}

.wa-chat-footer-hint {
    background-color: #E7E2D9;
    padding: 0.65rem 1rem;
    text-align: center;
    font-size: 0.76rem;
    color: #667781;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

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

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

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

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input, 
.form-group select {
    padding: 0.95rem 1rem;
    border: 1px solid #D8D4CA;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-color);
    background-color: #FAF8F4;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(157, 117, 70, 0.18);
}

/* WhatsApp Form & Direct Action Buttons */
.btn-whatsapp-submit {
    background-color: #25D366;
    color: var(--white);
    border: none;
    padding: 1.15rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    margin-top: 0.6rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp-submit:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.btn-whatsapp-submit:active {
    transform: translateY(0);
}

.phone-number-display {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-light);
}

.phone-number-display strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Direct Contact Divider */
.direct-contact-divider {
    display: flex;
    align-items: center;
    margin: 2.2rem 0 1.5rem;
    text-align: center;
}

.direct-contact-divider::before,
.direct-contact-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-subtle);
}

.direct-contact-divider span {
    padding: 0 1rem;
    font-size: 0.88rem;
    color: var(--text-light);
}

.direct-whatsapp-box {
    text-align: center;
}

.direct-wa-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.direct-wa-link i {
    color: #25D366;
    font-size: 1.35rem;
}

.direct-wa-link:hover {
    color: #128C7E;
    transform: translateY(-1px);
}

.direct-contact-hint {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    padding: 5.5rem 0 3rem;
    background: linear-gradient(180deg, #16251C 0%, #0F1A13 100%);
    color: var(--white);
    text-align: center;
    border-top: 1px solid rgba(157, 117, 70, 0.25);
}

.quote {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-style: italic;
    margin-bottom: 2.5rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: #F1ECE3;
    line-height: 1.4;
}

.footer-info {
    margin-bottom: 2rem;
}

.footer-info p {
    margin: 0.4rem 0;
    font-size: 0.92rem;
    color: #BFB9AE;
}

.footer-info strong {
    font-size: 1.15rem;
    color: var(--white);
    letter-spacing: 0.02em;
}

.footer-location {
    font-size: 0.85rem !important;
    opacity: 0.8;
}

.footer-social {
    margin-bottom: 2.5rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: #E2DFD8;
    padding: 0.55rem 1.3rem;
    border-radius: 8px;
    border: 1px solid rgba(157, 117, 70, 0.35);
    background: rgba(157, 117, 70, 0.08);
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--white);
    border-color: var(--secondary-color);
    background: rgba(157, 117, 70, 0.22);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    color: #8C948E;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    align-items: center;
}

.footer-credit {
    font-size: 0.76rem;
    color: #9AA49C;
}

.dev-link {
    color: #A6B0A8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dev-link:hover {
    color: var(--secondary-light);
    text-decoration: underline;
}

/* ==========================================================================
   Floating Quick Action Buttons
   ========================================================================== */

.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 998;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.float-whatsapp {
    background-color: #25D366;
}

.float-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
}

.float-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.float-instagram:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
}

/* ==========================================================================
   Animations
   ========================================================================== */

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.165, 0.84, 0.44, 1), 
                transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 2.5rem;
    }
    
    .hero-image img {
        height: 480px;
    }
    
    .about-commitments {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 960px) {
    .contact-layout {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .wa-preview-wrapper {
        position: static;
        margin-top: 1.5rem;
    }
}

@media (max-width: 820px) {
    .nav-desktop {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-intro {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-title {
        align-items: center;
    }

    .hero-title-name {
        font-size: clamp(2.3rem, 6.5vw, 3rem);
    }

    .hero-title-role {
        font-size: 1.35rem;
    }

    .hero-badges {
        justify-content: center;
        gap: 0.65rem;
        margin-bottom: 1.8rem;
    }

    .hero-ctas {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
        max-width: 360px;
        margin: 0 auto 1.5rem;
    }
    
    .hero-image img {
        height: 400px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-title-name {
        font-size: 2.15rem;
    }

    .hero-title-role {
        font-size: 1.22rem;
    }

    .badge-crp,
    .modality-tag {
        font-size: 0.84rem;
        padding: 0.45rem 0.9rem;
    }
    
    .floating-buttons {
        bottom: 18px;
        right: 18px;
        gap: 10px;
    }
    
    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }
    
    .btn {
        width: 100%;
    }
}