/* ============================================
   HS Fisio e Bem Estar - Brand Identity
   Paleta: Lilás (logo) + Verde Sage (painéis)
   ============================================ */

:root {
    /* Primária — Lilás/violeta da logo */
    --primary: #9d7eb1;
    --primary-dark: #7a5e8e;
    --primary-light: #d4bce3;
    --primary-soft: #ede4f3;

    /* Acento — Verde sage dos painéis institucionais */
    --accent: #9ec0a0;
    --accent-light: #c8dec5;
    --accent-soft: #e0ebde;
    --accent-dark: #7ba17f;

    /* Apoio escuro */
    --secondary: #2d3e50;
    --secondary-light: #3d5168;

    --whatsapp: #25d366;

    --text: #2d3e50;
    --text-light: #5a6b7e;
    --text-muted: #8b97a6;

    --bg: #ffffff;
    --bg-cream: #fdfcfa;
    --bg-alt: #f5f9f3;
    --bg-soft: #faf9fc;
    --border: #ebeaef;
    --border-soft: rgba(157, 126, 177, 0.18);
    --border-accent: rgba(158, 192, 160, 0.3);

    --shadow-sm: 0 2px 12px rgba(45, 62, 80, 0.05);
    --shadow: 0 12px 40px rgba(45, 62, 80, 0.08);
    --shadow-lg: 0 25px 70px rgba(45, 62, 80, 0.12);
    --shadow-xl: 0 35px 100px rgba(45, 62, 80, 0.15);
    --shadow-primary: 0 8px 25px rgba(157, 126, 177, 0.3);

    --radius: 14px;
    --radius-lg: 24px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    --header-height: 84px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--secondary);
    letter-spacing: -0.01em;
}

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

.section {
    padding: 7rem 0;
    position: relative;
}

.section-alt {
    background: var(--bg-alt);
}

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    padding: 0.5rem 1.25rem;
    background: var(--accent-soft);
    border-radius: 999px;
    border: 1px solid var(--border-accent);
}

.section-title {
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
    font-weight: 600;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 1.25rem auto 0;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.0625rem;
    max-width: 580px;
    margin: 0 auto;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 8px 25px rgba(157, 126, 177, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(157, 126, 177, 0.45);
}

.btn-secondary {
    background: var(--whatsapp);
    color: white;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(157, 126, 177, 0.25);
}

.btn-block { width: 100%; }

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    transition: all var(--transition);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 30px rgba(45, 62, 80, 0.06);
    border-bottom-color: var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    box-shadow: 0 6px 18px rgba(157, 126, 177, 0.4);
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.5px solid var(--primary);
    opacity: 0.5;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-title {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.625rem;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-size: 0.65rem;
    color: var(--accent-dark);
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text);
    font-size: 0.9375rem;
    position: relative;
    transition: color var(--transition);
}

.nav-link:not(.nav-link-cta)::after {
    content: '';
    position: absolute;
    left: 0; bottom: -4px;
    width: 0; height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }

.nav-link-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white !important;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    transition: all var(--transition);
    box-shadow: 0 6px 18px rgba(157, 126, 177, 0.3);
}

.nav-link-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(157, 126, 177, 0.4);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--secondary);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--header-height) + 4rem) 0 4rem;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

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

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg,
            rgba(255, 255, 255, 0.97) 0%,
            rgba(253, 252, 250, 0.95) 35%,
            rgba(245, 249, 243, 0.85) 60%,
            rgba(157, 126, 177, 0.35) 100%),
        radial-gradient(ellipse at top right, rgba(158, 192, 160, 0.25), transparent 55%);
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--primary-dark);
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-soft);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-tag i {
    color: var(--primary);
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    font-weight: 600;
}

.hero-title span {
    color: var(--primary);
    font-style: italic;
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    left: 0; bottom: 8px;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--accent-light), transparent);
    opacity: 0.7;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.25rem;
    max-width: 520px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-soft);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* Hero Form */
.hero-form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-form-wrapper::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 50%, var(--accent) 100%);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.35;
}

.hero-form h3 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.form-subtitle {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.form-group {
    position: relative;
    margin-bottom: 1rem;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    pointer-events: none;
    z-index: 1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 2.75rem;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--text);
    background: white;
    transition: all var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(157, 126, 177, 0.12);
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.5;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== Sobre ===== */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.sobre-content p {
    margin-bottom: 1.25rem;
    color: var(--text-light);
    font-size: 1.0625rem;
    line-height: 1.75;
}

.sobre-content strong {
    color: var(--secondary);
    font-weight: 600;
}

.sobre-features {
    display: grid;
    gap: 1rem;
    margin-top: 2.5rem;
}

.feature {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--accent);
    transition: all var(--transition);
}

.feature:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow);
    border-left-color: var(--primary);
}

.feature i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.0625rem;
    margin-bottom: 0.25rem;
    color: var(--secondary);
    font-weight: 600;
}

.feature p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin: 0;
}

/* Imagens da seção sobre */
.sobre-image {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
    gap: 1rem;
}

.sobre-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform var(--transition);
}

.sobre-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sobre-img:hover img {
    transform: scale(1.05);
}

.sobre-img-1 { grid-row: 1 / 3; grid-column: 1 / 2; }
.sobre-img-2 { grid-row: 1 / 2; grid-column: 2 / 3; }
.sobre-img-3 { grid-row: 2 / 4; grid-column: 2 / 3; }

.sobre-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 1.25rem 1.75rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 4px solid var(--accent);
    z-index: 2;
    width: max-content;
    max-width: 90%;
}

.badge-number {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.badge-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    font-weight: 500;
}

/* ===== Missão e Valores ===== */
.missao-valores {
    background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg-alt) 100%);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.mv-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-soft);
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

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

.mv-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
    border: 1px solid var(--border-soft);
}

.mv-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.mv-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* ===== Especialidades ===== */
.especialidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.especialidade-card {
    background: white;
    padding: 2.25rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.especialidade-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.especialidade-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-soft);
}

.especialidade-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--bg-alt), white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition);
    border: 1px solid var(--border);
}

.especialidade-card:hover .card-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: var(--primary-dark);
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 10px 25px rgba(157, 126, 177, 0.3);
}

.especialidade-card h3 {
    font-size: 1.4375rem;
    margin-bottom: 0.625rem;
    font-weight: 600;
}

.especialidade-card p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.tuss-code {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid var(--border-accent);
}

/* ===== Equipe ===== */
.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.profissional-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    text-align: center;
    border: 1px solid transparent;
}

.profissional-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-soft);
}

.prof-foto {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.prof-foto::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(45, 62, 80, 0.18));
    opacity: 0;
    transition: opacity var(--transition);
}

.profissional-card:hover .prof-foto::after { opacity: 1; }

.prof-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.profissional-card:hover .prof-foto img {
    transform: scale(1.05);
}

.prof-foto-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: 3.25rem;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(157, 126, 177, 0.4);
    border: 4px solid white;
    position: relative;
}

.prof-foto-placeholder::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    opacity: 0.5;
}

.prof-info {
    padding: 1.875rem 1.5rem;
}

.prof-info h3 {
    font-size: 1.4375rem;
    margin-bottom: 0.375rem;
    font-weight: 600;
}

.prof-cargo {
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.875rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.prof-crefito {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary-dark);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid var(--border-soft);
}

.prof-bio {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 1rem;
    line-height: 1.6;
}

/* ===== Galeria ===== */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 260px;
    gap: 1.25rem;
}

.galeria-item {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.galeria-item:nth-child(3n+1) { grid-row: span 2; }

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.galeria-item:hover img {
    transform: scale(1.08);
}

.galeria-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.5rem;
    background: linear-gradient(180deg, transparent, rgba(45, 62, 80, 0.85));
    color: white;
    transform: translateY(20%);
    opacity: 0.85;
    transition: all var(--transition);
}

.galeria-item:hover .galeria-overlay {
    transform: translateY(0);
    opacity: 1;
}

.galeria-overlay h4 {
    color: white;
    font-size: 1.3125rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.galeria-overlay p {
    font-size: 0.875rem;
    opacity: 0.9;
}

.galeria-zoom {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.galeria-item:hover .galeria-zoom {
    opacity: 1;
    transform: rotate(15deg);
}

/* ===== Convênios ===== */
.convenios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.convenio-item {
    background: white;
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1.5px solid transparent;
}

.convenio-item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.convenio-item i {
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.convenio-item span {
    font-weight: 500;
    color: var(--secondary);
    font-size: 0.95rem;
}

.convenio-particular {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    grid-column: span 2;
    justify-content: center;
    border-color: var(--accent) !important;
}

.convenio-particular i,
.convenio-particular span {
    color: white;
}

.convenio-particular span {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===== Depoimentos ===== */
.depoimentos-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.5rem 0.5rem 1.5rem;
    margin: 0 -0.5rem;
    scrollbar-width: none;
}

.depoimentos-slider::-webkit-scrollbar { display: none; }

.depoimento-card {
    flex: 0 0 calc(33.333% - 1rem);
    background: white;
    padding: 2.25rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    scroll-snap-align: start;
    position: relative;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.depoimento-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--border-soft);
}

.depoimento-card.pendente {
    background: linear-gradient(135deg, #fafffa 0%, #fff 100%);
    border-color: var(--accent-light);
}

.depoimento-card::before {
    content: '"';
    position: absolute;
    top: 0;
    right: 1.5rem;
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: 6rem;
    color: var(--primary);
    line-height: 1;
    opacity: 0.18;
}

.depoimento-pendente {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--accent-soft);
    color: var(--accent-dark);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-accent);
}

.depoimento-stars {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    letter-spacing: 2px;
}

.depoimento-text {
    color: var(--text);
    font-size: 0.9375rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.depoimento-autor {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.autor-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 4px 12px rgba(157, 126, 177, 0.3);
    border: 2px solid var(--accent-light);
}

.depoimento-autor strong {
    display: block;
    color: var(--secondary);
    font-size: 0.95rem;
}

.depoimento-autor span {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.depoimentos-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.dep-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--primary-soft);
    transition: all var(--transition);
    font-size: 1rem;
}

.dep-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.05);
}

.depoimentos-cta {
    margin-top: 2.5rem;
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-soft);
}

.depoimentos-cta p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 62, 80, 0.55);
    backdrop-filter: blur(8px);
}

.modal-card {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    transform: translateY(30px) scale(0.96);
    transition: transform var(--transition);
    border: 1px solid var(--border-soft);
}

.modal.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--text-light);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-tag {
    display: inline-block;
    color: var(--accent-dark);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.625rem;
}

.modal-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.modal-header p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

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

.form-rating {
    margin: 1.25rem 0;
    text-align: center;
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: 12px;
}

.form-rating > label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stars-input {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}

.star {
    color: #d4d8df;
    font-size: 1.75rem;
    transition: all 0.2s ease;
    padding: 0.2rem;
}

.star.active {
    color: var(--primary);
    transform: scale(1.1);
    text-shadow: 0 4px 12px rgba(157, 126, 177, 0.4);
}

.star:hover { transform: scale(1.2); }

.form-group-textarea {
    position: relative;
    margin-bottom: 0.5rem;
}

.form-group-textarea textarea {
    padding: 1rem;
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    width: 100%;
    font-size: 0.9375rem;
    transition: all var(--transition);
}

.form-group-textarea textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(157, 126, 177, 0.12);
}

.char-count {
    position: absolute;
    bottom: 0.75rem;
    right: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: white;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

.modal-form .btn-primary {
    margin-top: 1rem;
}

/* ===== Contato ===== */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: stretch;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border-left: 3px solid var(--accent);
}

.info-card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow);
    border-left-color: var(--primary);
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.info-card p,
.info-card a {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.info-card a:hover {
    color: var(--primary);
}

.contato-mapa {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 500px;
    border: 1px solid var(--border);
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.logo-footer .logo-title { color: white; }
.logo-footer .logo-subtitle { color: var(--accent-light); }

.footer-col p {
    margin: 1.25rem 0 1.5rem;
    line-height: 1.7;
    font-size: 0.9375rem;
}

.footer-col h4 {
    font-family: 'Poppins', sans-serif;
    color: white;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 30px; height: 2px;
    background: var(--primary-light);
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: all var(--transition);
}

.footer-col ul a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
}

.footer-contact i {
    color: var(--accent-light);
    width: 16px;
    flex-shrink: 0;
    margin-top: 0.3rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    border-color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 62px;
    height: 62px;
    background: var(--whatsapp);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all var(--transition);
    animation: pulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    animation: none;
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary);
    color: white;
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--secondary);
}

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

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5), 0 0 0 18px rgba(37, 211, 102, 0);
    }
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(45, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}

.lightbox.active { display: flex; }

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: white;
    box-shadow: var(--shadow-xl);
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 70vh;
    object-fit: contain;
}

.lightbox-caption {
    padding: 1.5rem 2rem;
    background: white;
    text-align: center;
}

.lightbox-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.lightbox-caption p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: white;
    background: rgba(255, 255, 255, 0.12);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.25rem;
    transition: all var(--transition);
    backdrop-filter: blur(10px);
}

.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 2rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 2rem; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary);
    color: white;
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    background: var(--secondary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    transition: transform 0.4s ease;
    max-width: 90vw;
    border-left: 3px solid var(--accent);
}

.toast.active {
    transform: translateX(-50%) translateY(0);
}

.toast i {
    color: var(--accent-light);
    font-size: 1.25rem;
}

/* ===== Animations on scroll ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-container,
    .sobre-grid,
    .contato-grid,
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-form-wrapper {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

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

    .depoimento-card {
        flex: 0 0 calc(50% - 0.75rem);
    }

    .convenio-particular {
        grid-column: span 1;
    }

    .sobre-image {
        max-width: 540px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .section { padding: 4.5rem 0; }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: white;
        padding: 1.5rem;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: transform var(--transition);
    }

    .nav.active { transform: translateY(0); }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-link-cta {
        text-align: center;
        border: none;
    }

    .nav-toggle { display: block; }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 2rem);
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .stat-number { font-size: 2rem; }

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

    .sobre-image {
        max-width: 420px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .depoimento-card { flex: 0 0 100%; }

    .galeria-grid { grid-auto-rows: 220px; }

    .galeria-item:nth-child(3n+1) { grid-row: span 1; }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 1.625rem;
        bottom: 1rem;
        right: 1rem;
    }

    .modal-card { padding: 2rem 1.5rem; }

    .form-row { grid-template-columns: 1fr; }

    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }

    .mv-card { padding: 2.25rem 1.75rem; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-stats { gap: 1rem; }
    .stat { flex: 1; min-width: 90px; }
    .stat-number { font-size: 1.75rem; }
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    background: #fff;
    border: 1px solid rgba(31, 111, 139, 0.12);
    border-radius: 14px;
    padding: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: box-shadow .2s ease, border-color .2s ease;
}
.faq-item[open] {
    box-shadow: 0 8px 24px rgba(31,111,139,0.10);
    border-color: rgba(31, 111, 139, 0.30);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.02rem;
    color: #1f2d3d;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
    color: #1f6f8b;
    transition: transform .25s ease;
    flex-shrink: 0;
}
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-item p {
    padding: 0 22px 20px;
    margin: 0;
    color: #4a5568;
    line-height: 1.7;
}
.faq-item p a {
    color: #1f6f8b;
    text-decoration: underline;
}
