:root {
    --navy: #102A43;
    --navy-light: #243B53;
    --slate: #486581;
    --muted: #627D98;
    --gold: #B5945B;
    --gold-hover: #9C7D46;
    --bg: #FAFBFD;
    --surface: #FFFFFF;
    --surface-alt: #F4F6F8;
    --border: #E2E8F0;
    --text: #334E68;
    --white: #FFFFFF;
    --radius: 14px;
    --shadow-sm: 0 4px 16px rgba(16, 42, 67, 0.06);
    --shadow-md: 0 14px 36px rgba(16, 42, 67, 0.12);
    --shadow-lg: 0 24px 60px rgba(16, 42, 67, 0.24);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.modal-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-pad {
    padding: 96px 0;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
}

.brand-sub {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy-light);
    transition: color 0.25s ease;
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.25s ease;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--navy);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: var(--white) !important;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.86rem;
    transition: background 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover {
    background: var(--gold);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
    color: var(--navy);
    cursor: pointer;
}

/* HERO */
.hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    background: url('../imagens/introducao.jpg') no-repeat center center / cover;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(16, 42, 67, 0.88) 0%, rgba(16, 42, 67, 0.68) 55%, rgba(16, 42, 67, 0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 72px 0;
}

.hero-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #F3E5C8;
    border: 1px solid rgba(243, 229, 200, 0.45);
    background: rgba(16, 42, 67, 0.4);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.hero h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4.1rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-bottom: 34px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-primary,
.btn-outline,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.94rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(181, 148, 91, 0.35);
}

.btn-primary:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}

.btn-secondary {
    background: var(--white);
    color: var(--navy);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--navy);
    background: var(--surface-alt);
}

/* PILARES */
.pillars-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 34px 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.pillar-item i {
    font-size: 1.35rem;
    color: var(--gold);
    margin-top: 3px;
    flex-shrink: 0;
}

.pillar-item strong {
    display: block;
    color: var(--navy);
    font-size: 0.98rem;
    margin-bottom: 3px;
}

.pillar-item span {
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.5;
}

/* SECTION HEADERS */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 44px;
}

.section-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--muted);
}

/* FILTROS */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 42px;
}

.filter-btn {
    background: var(--surface);
    color: var(--slate);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 9px 18px;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.filter-btn.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* GRID DE PROCEDIMENTOS */
.procedures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.procedure-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.procedure-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.card-media {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #102A43 0%, #243B53 100%);
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.procedure-card:hover .card-media img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(16, 42, 67, 0.88);
    color: #F3E5C8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
}

.card-badge.featured {
    background: var(--gold);
    color: var(--white);
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-body h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.2;
}

.card-body p {
    font-size: 0.92rem;
    color: var(--muted);
    margin-bottom: 18px;
    flex: 1;
}

.card-link {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-link i {
    color: var(--gold);
    transition: transform 0.25s ease;
}

.procedure-card:hover .card-link i {
    transform: translateX(4px);
}

/* SOBRE MIM */
.about-section {
    background: var(--surface-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.25fr;
    gap: 56px;
    align-items: center;
}

.about-photo-frame {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--white);
    background: var(--surface-alt);
}

.about-photo-frame img {
    width: 100%;
    height: auto;
    display: block;
    }

.about-credential-card {
    margin-top: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: 10px;
    padding: 14px 18px;
}

.about-credential-card strong {
    display: block;
    color: var(--navy);
    font-size: 0.98rem;
}

.about-credential-card span {
    font-size: 0.84rem;
    color: var(--muted);
}

.about-text h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 18px;
}

.about-text p {
    margin-bottom: 14px;
    font-size: 0.98rem;
}

.timeline-pills {
    display: grid;
    gap: 10px;
    margin: 24px 0 28px;
}

.timeline-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px 16px;
}

.pill-year {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--gold);
    min-width: 52px;
}

.pill-desc {
    font-size: 0.9rem;
    color: var(--navy);
    font-weight: 500;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* CUIDADOS & FAQ */
.care-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.15fr;
    gap: 40px;
    align-items: start;
}

.care-visual {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.care-visual img {
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: contain;
    background: var(--surface-alt);
}

.care-checklist {
    padding: 26px;
}

.care-checklist h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 16px;
}

.care-checklist ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.care-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
}

.care-checklist i {
    color: var(--gold);
    margin-top: 4px;
    flex-shrink: 0;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: inherit;
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
}

.faq-question i {
    color: var(--gold);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 20px 18px;
    font-size: 0.92rem;
    color: var(--slate);
    border-top: 1px solid var(--surface-alt);
    padding-top: 12px;
}

.faq-item.open .faq-answer {
    display: block;
}

/* FOOTER */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.88);
    padding: 72px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 44px;
    align-items: center;
}

.footer-kicker {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.site-footer h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.4rem;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-lead {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 26px;
    font-size: 0.95rem;
}

.contact-list {
    display: grid;
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--gold);
}

.contact-item i {
    font-size: 1.25rem;
    color: var(--gold);
    width: 24px;
    text-align: center;
}

.contact-item small {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
}

.contact-item span {
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--white);
}

.footer-map iframe {
    width: 100%;
    height: 320px;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-legal button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.82);
    font-family: inherit;
    font-size: 0.84rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-legal button:hover {
    color: var(--gold);
}

/* WHATSAPP FLUTUANTE */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 850;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1FA855;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(31, 168, 85, 0.38);
    transition: transform 0.25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

/* MODAL FLUTUANTE */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(16, 42, 67, 0.72);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop.open {
    display: flex;
}

.modal-dialog {
    position: relative;
    background: var(--surface);
    width: 100%;
    max-width: 780px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.24s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: sticky;
    top: 14px;
    float: right;
    margin: 14px 14px 0 0;
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--navy);
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--navy);
    color: var(--white);
}

.modal-body {
    padding: 36px 38px 38px;
}

.modal-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.modal-body h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.1rem;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 20px;
    padding-right: 36px;
}

.modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.modal-meta-card {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
}

.modal-meta-card small {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 3px;
}

.modal-meta-card strong {
    font-size: 0.88rem;
    color: var(--navy);
}

.modal-photo-box {
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface-alt);
}

.modal-photo-box img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    margin: 0 auto;
}

.modal-photo-caption {
    background: var(--surface-alt);
    padding: 8px 14px;
    font-size: 0.8rem;
    color: var(--muted);
    text-align: center;
}

.modal-description p,
.legal-text p {
    margin-bottom: 14px;
    font-size: 0.96rem;
    color: var(--text);
}

.legal-text h3 {
    color: var(--navy);
    font-size: 1.05rem;
    margin: 18px 0 8px;
}

.modal-footer-actions {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

/* ANIMAÇÃO SUAVE NATIVA */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVO */
@media (max-width: 992px) {
    .procedures-grid { grid-template-columns: repeat(2, 1fr); }
    .pillars-grid { grid-template-columns: 1fr; gap: 18px; }
    .about-grid, .care-layout, .footer-grid { grid-template-columns: 1fr; }
    .modal-meta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section-pad { padding: 68px 0; }
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .nav-links {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 18px 24px 24px;
        gap: 0;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; text-align: center; }
    .nav-links a:not(.nav-cta) {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--surface-alt);
    }
    .nav-cta-item { margin-top: 14px; }
    .nav-cta { width: 100%; justify-content: center; }
    .procedures-grid { grid-template-columns: 1fr; }
    .modal-body { padding: 24px 20px 26px; }
    .brand-sub { display: none; }
}