/* ==========================================================================
   Centro de Endoscopia - Dra Rosemari Dal'Acqua
   Sistema de Design & Layout HSSites (Estrutura Sunega + Identidade Endo Dal'Acqua)
   ========================================================================== */

:root {
    --ed-primary: #349D68;
    --ed-primary-hover: #2B8557;
    --ed-primary-dark: #226B46;
    --ed-accent: #53B986;
    --ed-accent-light: #EAF7F1;
    --ed-dark: #164630;
    --ed-dark-deep: #103423;
    --ed-text: #37433D;
    --ed-muted: #68756F;
    --ed-line: #E1EBE5;
    --ed-paper: #F4F8F5;
    --ed-white: #FFFFFF;
    --ed-whatsapp: #25D366;
    --ed-whatsapp-hover: #1EB956;
    --ed-radius-sm: 8px;
    --ed-radius-md: 14px;
    --ed-radius-lg: 20px;
    --ed-radius-pill: 999px;
    --ed-shadow-sm: 0 2px 10px rgba(16, 52, 35, 0.06);
    --ed-shadow-md: 0 8px 24px rgba(16, 52, 35, 0.10);
    --ed-shadow-lg: 0 16px 40px rgba(16, 52, 35, 0.14);
    --font-title: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --max: 1160px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--ed-text);
    background-color: var(--ed-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.ed-wrap {
    width: min(100% - 32px, var(--max));
    margin-inline: auto;
}

.ed-muted { color: var(--ed-muted); }
.ed-center-text { text-align: center; margin-inline: auto; }

/* --------------------------------------------------------------------------
   Header & Navegação
   -------------------------------------------------------------------------- */
.ed-topbar {
    background: var(--ed-dark-deep);
    color: #C1D4CB;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 0;
}
.ed-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.ed-topbar-left, .ed-topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.ed-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.ed-topbar-item i {
    color: var(--ed-accent);
}
.ed-topbar a:hover {
    color: var(--ed-white);
}

.ed-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ed-line);
    box-shadow: 0 2px 14px rgba(18, 36, 29, 0.04);
}
.ed-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 98px;
}
.ed-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 4px 0;
}
.ed-logo img {
    height: 82px;
    max-height: 88px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}
.ed-logo:hover img {
    transform: scale(1.02);
}

.ed-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}
.ed-nav > a, .ed-nav-dropdown > a {
    color: var(--ed-dark);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 8px 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ed-nav > a:hover, .ed-nav > a.is-active,
.ed-nav-dropdown:hover > a {
    color: var(--ed-primary);
}
.ed-nav > a.is-active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ed-primary);
    border-radius: 2px;
}

/* Dropdown Procedimentos */
.ed-nav-dropdown {
    position: relative;
}
.ed-nav-dropdown i {
    font-size: 11px;
    transition: transform 0.2s ease;
}
.ed-nav-dropdown:hover i {
    transform: rotate(180deg);
}
.ed-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--ed-white);
    border: 1px solid var(--ed-line);
    border-radius: var(--ed-radius-md);
    box-shadow: var(--ed-shadow-lg);
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 60;
}
.ed-nav-dropdown:hover .ed-dropdown-menu {
    display: flex;
}
.ed-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--ed-radius-sm);
    color: var(--ed-dark);
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.ed-dropdown-item i {
    color: var(--ed-primary);
    font-size: 14px;
    width: 18px;
    text-align: center;
}
.ed-dropdown-item:hover {
    background: var(--ed-accent-light);
    color: var(--ed-primary-hover);
}

.ed-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ed-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: var(--ed-radius-pill);
    background: var(--ed-primary);
    color: var(--ed-white);
    font-weight: 700;
    font-size: 13.5px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(52, 157, 104, 0.25);
    transition: all 0.2s ease;
}
.ed-header-cta:hover {
    background: var(--ed-primary-hover);
    color: var(--ed-white);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(52, 157, 104, 0.35);
}
.ed-header-cta i {
    font-size: 16px;
}

.ed-header-cta-mobile {
    display: none;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 14px;
    border-radius: var(--ed-radius-pill);
    background: var(--ed-whatsapp);
    color: var(--ed-white);
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.30);
    transition: transform 0.2s ease, background 0.2s ease;
}
.ed-header-cta-mobile:hover,
.ed-header-cta-mobile:active {
    background: var(--ed-whatsapp-hover);
    color: var(--ed-white);
    transform: scale(1.02);
}
.ed-header-cta-mobile i {
    font-size: 16px;
}

.ed-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--ed-paper);
    border: 1px solid var(--ed-line);
    border-radius: 10px;
    color: var(--ed-dark);
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}
.ed-burger:hover,
.ed-burger[aria-expanded="true"] {
    background: var(--ed-accent-light);
    border-color: var(--ed-accent);
    color: var(--ed-primary);
}

.ed-nav-mobile-footer {
    display: none;
}

/* --------------------------------------------------------------------------
   Botões e Componentes Universais
   -------------------------------------------------------------------------- */
.ed-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 24px;
    border-radius: var(--ed-radius-sm);
    font-weight: 700;
    font-size: 14.5px;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ed-btn:hover {
    transform: translateY(-2px);
}
.ed-btn-primary {
    background: var(--ed-primary);
    color: var(--ed-white);
    box-shadow: 0 6px 20px rgba(52, 157, 104, 0.28);
}
.ed-btn-primary:hover {
    background: var(--ed-primary-hover);
    color: var(--ed-white);
    box-shadow: 0 8px 24px rgba(52, 157, 104, 0.38);
}
.ed-btn-wa {
    background: var(--ed-whatsapp);
    color: var(--ed-white);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.28);
}
.ed-btn-wa:hover {
    background: var(--ed-whatsapp-hover);
    color: var(--ed-white);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.38);
}
.ed-btn-dark {
    background: var(--ed-dark);
    color: var(--ed-white);
}
.ed-btn-dark:hover {
    background: var(--ed-dark-deep);
    color: var(--ed-white);
}
.ed-btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: var(--ed-white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(4px);
}
.ed-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.22);
    color: var(--ed-white);
}
.ed-btn-outline {
    background: transparent;
    color: var(--ed-primary);
    border: 1.5px solid var(--ed-primary);
}
.ed-btn-outline:hover {
    background: var(--ed-accent-light);
    color: var(--ed-primary-hover);
}
.ed-btn-sm {
    min-height: 38px;
    padding: 0 16px;
    font-size: 13px;
    border-radius: var(--ed-radius-sm);
}

.ed-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ed-accent);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.ed-kicker-dark {
    color: var(--ed-primary);
}
.ed-kicker-pill {
    padding: 6px 14px;
    border-radius: var(--ed-radius-pill);
    background: rgba(83, 185, 134, 0.14);
    color: var(--ed-accent);
}

.ed-h1 {
    font-family: var(--font-title);
    font-size: clamp(34px, 5.5vw, 60px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.ed-h2 {
    font-family: var(--font-title);
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ed-dark);
    margin-bottom: 14px;
}
.ed-h3 {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 700;
    color: var(--ed-dark);
    margin-bottom: 10px;
}

.ed-section {
    padding: 84px 0;
}
.ed-section-paper {
    background: var(--ed-paper);
}
.ed-section-dark {
    background: var(--ed-dark);
    color: var(--ed-white);
}
.ed-section-head {
    margin-bottom: 48px;
    max-width: 720px;
}
.ed-section-head p:last-child {
    color: var(--ed-muted);
    font-size: 16.5px;
    margin-top: 10px;
}
.ed-section-head-light p:last-child {
    color: #A6BFB2;
}

/* --------------------------------------------------------------------------
   Hero Principal (Padrão Sunega adaptado para Clínica)
   -------------------------------------------------------------------------- */
.ed-hero {
    position: relative;
    min-height: min(88vh, 740px);
    display: grid;
    align-items: center;
    overflow: hidden;
    background: var(--ed-dark-deep);
}
.ed-hero-slides, .ed-hero-slide, .ed-hero-shade {
    position: absolute;
    inset: 0;
}
.ed-hero-slide {
    background: center/cover no-repeat;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s ease, transform 6s ease;
}
.ed-hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}
.ed-hero-shade {
    background:
        linear-gradient(105deg, rgba(16, 52, 35, 0.94) 0%, rgba(22, 70, 48, 0.82) 48%, rgba(16, 52, 35, 0.48) 100%),
        radial-gradient(circle at 80% 20%, rgba(83, 185, 134, 0.25), transparent 45%);
}
.ed-hero-copy {
    position: relative;
    z-index: 2;
    padding: 96px 0 88px;
    max-width: 760px;
    color: var(--ed-white);
}
.ed-hero h1 span {
    display: block;
    color: #E2EFE7;
    font-weight: 600;
}
.ed-hero h1 strong {
    display: block;
    color: var(--ed-accent);
    font-weight: 800;
}
.ed-hero-lead {
    font-size: 17.5px;
    color: #B5CEC1;
    max-width: 58ch;
    margin-top: 18px;
    line-height: 1.6;
}
.ed-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}
.ed-hero-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.ed-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #D3E5DC;
    font-weight: 500;
}
.ed-hero-badge i {
    color: var(--ed-accent);
    font-size: 15px;
}

/* --------------------------------------------------------------------------
   Destaques (Highlights Cards)
   -------------------------------------------------------------------------- */
.ed-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.ed-card {
    padding: 26px 22px;
    border-radius: var(--ed-radius-md);
    background: var(--ed-white);
    border: 1px solid var(--ed-line);
    box-shadow: var(--ed-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ed-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ed-shadow-md);
    border-color: var(--ed-accent);
}
.ed-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.ed-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--ed-accent-light);
    color: var(--ed-primary);
    font-size: 20px;
    flex-shrink: 0;
    transition: background 0.25s ease, color 0.25s ease;
}
.ed-card:hover .ed-card-icon {
    background: var(--ed-primary);
    color: var(--ed-white);
}
.ed-card h3,
.ed-card-head h3 {
    font-family: var(--font-title);
    font-size: 19px;
    line-height: 1.25;
    color: var(--ed-dark);
    margin: 0;
}
.ed-card p {
    color: var(--ed-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Seção Sobre (Nossa Clínica)
   -------------------------------------------------------------------------- */
.ed-split {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 52px;
    align-items: center;
}
.ed-photo {
    position: relative;
}
.ed-photo::after {
    content: "";
    position: absolute;
    inset: 18px -14px -14px 18px;
    border: 2px solid rgba(83, 185, 134, 0.35);
    border-radius: var(--ed-radius-lg);
    z-index: 0;
}
.ed-photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: var(--ed-radius-md);
    object-fit: cover;
    aspect-ratio: 4/3;
    box-shadow: var(--ed-shadow-md);
}
.ed-photo-badge {
    position: absolute;
    bottom: -12px;
    left: 20px;
    z-index: 2;
    background: var(--ed-primary);
    color: var(--ed-white);
    padding: 10px 18px;
    border-radius: var(--ed-radius-pill);
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--ed-shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.ed-about-points {
    display: grid;
    gap: 16px;
    margin: 26px 0 32px;
}
.ed-about-point {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.ed-about-point i {
    color: var(--ed-primary);
    margin-top: 4px;
    font-size: 17px;
}
.ed-about-point strong {
    display: block;
    color: var(--ed-dark);
    font-size: 15.5px;
    margin-bottom: 3px;
}
.ed-about-point p {
    color: var(--ed-muted);
    font-size: 14px;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Procedimentos & Exames (Grid e Cards)
   -------------------------------------------------------------------------- */
.ed-procedures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ed-procedure-card {
    background: var(--ed-white);
    border: 1px solid var(--ed-line);
    border-radius: var(--ed-radius-md);
    padding: 30px 26px;
    box-shadow: var(--ed-shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}
.ed-procedure-card:hover {
    transform: translateY(-4px);
    border-color: var(--ed-accent);
    box-shadow: var(--ed-shadow-md);
}
.ed-proc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.ed-proc-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--ed-accent-light);
    color: var(--ed-primary);
    font-size: 22px;
}
.ed-proc-badge {
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--ed-radius-pill);
    background: rgba(52, 157, 104, 0.1);
    color: var(--ed-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.ed-procedure-card h3 {
    margin: 0 0 10px;
    font-family: var(--font-title);
    font-size: 21px;
    color: var(--ed-dark);
}
.ed-procedure-card p {
    color: var(--ed-muted);
    font-size: 14.5px;
    margin-bottom: 18px;
    line-height: 1.6;
    flex-grow: 1;
}
.ed-proc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 22px;
}
.ed-proc-tag {
    font-size: 12px;
    background: #F0F4F2;
    color: #4B5952;
    padding: 4px 9px;
    border-radius: 6px;
    font-weight: 500;
}
.ed-proc-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--ed-line);
}
.ed-proc-btn-learn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--ed-paper);
    color: var(--ed-dark);
    border-radius: var(--ed-radius-sm);
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease;
}
.ed-proc-btn-learn:hover {
    background: var(--ed-accent-light);
    color: var(--ed-primary);
}
.ed-proc-btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--ed-whatsapp);
    color: var(--ed-white);
    border-radius: var(--ed-radius-sm);
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}
.ed-proc-btn-wa:hover {
    background: var(--ed-whatsapp-hover);
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Diferenciais (Por que escolher)
   -------------------------------------------------------------------------- */
.ed-why {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.ed-why-card {
    padding: 26px 24px;
    border-radius: var(--ed-radius-md);
    border: 1px solid var(--ed-line);
    background: linear-gradient(180deg, #FFFFFF 0%, #F7FBF9 100%);
    box-shadow: var(--ed-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ed-why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ed-shadow-md);
    border-color: var(--ed-accent);
}
.ed-why-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.ed-why-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(52, 157, 104, 0.12);
    color: var(--ed-primary);
    font-size: 20px;
    flex-shrink: 0;
    transition: background 0.25s ease, color 0.25s ease;
}
.ed-why-card:hover .ed-why-icon {
    background: var(--ed-primary);
    color: var(--ed-white);
}
.ed-why-card h3,
.ed-why-head h3 {
    margin: 0;
    font-family: var(--font-title);
    font-size: 19px;
    line-height: 1.25;
    color: var(--ed-dark);
}
.ed-why-card p {
    color: var(--ed-muted);
    font-size: 14.5px;
    margin: 0;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Fotos da Clínica & Lightbox
   -------------------------------------------------------------------------- */
.ed-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.ed-gallery-item {
    position: relative;
    border-radius: var(--ed-radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    background: #E8ECE9;
}
.ed-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.ed-gallery-item:hover img {
    transform: scale(1.08);
}
.ed-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 52, 35, 0.72);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--ed-white);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 16px;
    text-align: center;
}
.ed-gallery-item:hover .ed-gallery-overlay {
    opacity: 1;
}
.ed-gallery-overlay i {
    font-size: 24px;
    color: var(--ed-accent);
}
.ed-gallery-overlay span {
    font-size: 13px;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Convênios
   -------------------------------------------------------------------------- */
.ed-convenios-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}
.ed-convenio-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: var(--ed-radius-pill);
    background: var(--ed-white);
    border: 1px solid var(--ed-line);
    color: var(--ed-dark);
    font-size: 14.5px;
    font-weight: 600;
    box-shadow: var(--ed-shadow-sm);
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.ed-convenio-chip:hover {
    border-color: var(--ed-primary);
    transform: translateY(-2px);
}
.ed-convenio-chip i {
    color: var(--ed-primary);
    font-size: 16px;
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.ed-faq-wrap {
    max-width: 820px;
    margin-inline: auto;
}
.ed-faq {
    display: grid;
    gap: 14px;
}
.ed-faq-item {
    background: var(--ed-white);
    border: 1px solid var(--ed-line);
    border-radius: var(--ed-radius-md);
    padding: 0 22px;
    box-shadow: var(--ed-shadow-sm);
}
.ed-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 0;
    font-weight: 700;
    font-family: var(--font-title);
    font-size: 17px;
    color: var(--ed-dark);
    position: relative;
    padding-right: 32px;
}
.ed-faq-item summary::-webkit-details-marker { display: none; }
.ed-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ed-primary);
    font-size: 24px;
    font-weight: 700;
    transition: transform 0.2s ease;
}
.ed-faq-item[open] summary::after {
    content: "–";
}
.ed-faq-item p {
    margin: 0 0 20px;
    color: var(--ed-muted);
    font-size: 15px;
    line-height: 1.65;
    padding-bottom: 4px;
}

/* --------------------------------------------------------------------------
   CTA Banner (Agendamento)
   -------------------------------------------------------------------------- */
.ed-cta {
    background:
        radial-gradient(circle at 15% 20%, rgba(83, 185, 134, 0.25), transparent 45%),
        linear-gradient(135deg, #1D5C3D 0%, #25744D 50%, #2F8B5C 100%);
    color: var(--ed-white);
    padding: 76px 0;
    position: relative;
    overflow: hidden;
}
.ed-cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
}
.ed-cta-copy {
    max-width: 640px;
}
.ed-cta-copy h2 {
    font-family: var(--font-title);
    font-size: clamp(28px, 3.5vw, 42px);
    margin: 0 0 12px;
    color: var(--ed-white);
}
.ed-cta-copy p {
    color: #BED5CA;
    font-size: 16.5px;
    margin: 0;
}
.ed-cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Página Hero para Subpáginas (Procedimentos, Contato, Quem Somos)
   -------------------------------------------------------------------------- */
.ed-page-hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(83, 185, 134, 0.24), transparent 50%),
        linear-gradient(125deg, #1D5C3D 0%, #25744D 48%, #2F8B5C 100%);
    color: var(--ed-white);
    padding: 68px 0 54px;
}
.ed-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #C8E5D7;
    margin-bottom: 14px;
}
.ed-breadcrumbs a {
    color: #E2F2EA;
}
.ed-breadcrumbs a:hover {
    color: var(--ed-white);
}
.ed-breadcrumbs i {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
}
.ed-page-hero h1 {
    font-family: var(--font-title);
    font-size: clamp(32px, 4.5vw, 48px);
    line-height: 1.12;
    font-weight: 800;
    margin-bottom: 14px;
}
.ed-page-hero-lead {
    font-size: 17px;
    color: #E2F2EA;
    max-width: 65ch;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Layout das Páginas de Procedimento (2 Colunas)
   -------------------------------------------------------------------------- */
.ed-proc-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}
.ed-proc-main {
    display: grid;
    gap: 36px;
}
.ed-proc-capsule {
    background: var(--ed-paper);
    border: 1px solid var(--ed-line);
    border-left: 4px solid var(--ed-primary);
    border-radius: var(--ed-radius-md);
    padding: 24px 28px;
}
.ed-proc-capsule h3 {
    font-size: 18px;
    color: var(--ed-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ed-proc-capsule h3 i {
    color: var(--ed-primary);
}
.ed-proc-capsule p {
    margin: 0;
    color: var(--ed-text);
    font-size: 15px;
}

.ed-proc-block h2 {
    font-family: var(--font-title);
    font-size: 26px;
    color: var(--ed-dark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ed-proc-block h2 i {
    color: var(--ed-primary);
    font-size: 22px;
}
.ed-proc-block p {
    color: var(--ed-text);
    font-size: 15.5px;
    line-height: 1.7;
    margin-bottom: 16px;
}
.ed-proc-block p:last-child {
    margin-bottom: 0;
}

.ed-steps-list {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}
.ed-step-item {
    display: flex;
    gap: 16px;
    background: var(--ed-white);
    border: 1px solid var(--ed-line);
    border-radius: var(--ed-radius-md);
    padding: 20px;
    box-shadow: var(--ed-shadow-sm);
}
.ed-step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ed-accent-light);
    color: var(--ed-primary);
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 16px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.ed-step-content strong {
    display: block;
    color: var(--ed-dark);
    font-size: 16px;
    margin-bottom: 4px;
}
.ed-step-content p {
    margin: 0;
    color: var(--ed-muted);
    font-size: 14.5px;
}

/* Caixa de CTA dentro da página do procedimento */
.ed-proc-cta-box {
    background: linear-gradient(135deg, #164630 0%, #2B8557 100%);
    color: var(--ed-white);
    border-radius: var(--ed-radius-md);
    padding: 34px 30px;
    box-shadow: var(--ed-shadow-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.ed-proc-cta-box h3 {
    color: var(--ed-white);
    font-size: 22px;
    margin-bottom: 8px;
}
.ed-proc-cta-box p {
    color: #BED5CA;
    margin: 0;
    font-size: 15px;
}

/* Sidebar do Procedimento */
.ed-proc-sidebar {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 20px;
}
.ed-side-card {
    background: var(--ed-white);
    border: 1px solid var(--ed-line);
    border-radius: var(--ed-radius-md);
    padding: 24px;
    box-shadow: var(--ed-shadow-sm);
}
.ed-side-card h4 {
    font-family: var(--font-title);
    font-size: 17px;
    color: var(--ed-dark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ed-side-card h4 i {
    color: var(--ed-primary);
}
.ed-side-card p {
    font-size: 14px;
    color: var(--ed-muted);
    margin-bottom: 14px;
}
.ed-side-proc-links {
    display: grid;
    gap: 8px;
}
.ed-side-proc-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: var(--ed-radius-sm);
    background: var(--ed-paper);
    color: var(--ed-dark);
    font-size: 13.5px;
    font-weight: 600;
}
.ed-side-proc-link:hover, .ed-side-proc-link.is-active {
    background: var(--ed-accent-light);
    color: var(--ed-primary);
}
.ed-side-proc-link i {
    font-size: 11px;
}

/* --------------------------------------------------------------------------
   Página de Contato (Padrão Sunega adaptado)
   -------------------------------------------------------------------------- */
.ed-contact-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 36px;
    align-items: start;
}
.ed-contact-box {
    background: var(--ed-white);
    border: 1px solid var(--ed-line);
    border-radius: var(--ed-radius-md);
    padding: 34px 30px;
    box-shadow: var(--ed-shadow-sm);
}
.ed-contact-box h2 {
    font-family: var(--font-title);
    font-size: 24px;
    color: var(--ed-dark);
    margin-bottom: 10px;
}
.ed-contact-box > p {
    color: var(--ed-muted);
    font-size: 14.5px;
    margin-bottom: 24px;
}

.ed-form-group {
    margin-bottom: 18px;
}
.ed-form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ed-dark);
    margin-bottom: 6px;
}
.ed-form-group input,
.ed-form-group select,
.ed-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--ed-line);
    border-radius: var(--ed-radius-sm);
    font: inherit;
    font-size: 14.5px;
    color: var(--ed-text);
    background: var(--ed-white);
    transition: border-color 0.2s ease, outline 0.2s ease;
}
.ed-form-group input:focus,
.ed-form-group select:focus,
.ed-form-group textarea:focus {
    border-color: var(--ed-primary);
    outline: 3px solid rgba(52, 157, 104, 0.15);
}

.ed-info-list {
    display: grid;
    gap: 20px;
    margin: 20px 0 26px;
}
.ed-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.ed-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--ed-accent-light);
    color: var(--ed-primary);
    display: grid;
    place-items: center;
    font-size: 17px;
    flex-shrink: 0;
}
.ed-info-content strong {
    display: block;
    color: var(--ed-dark);
    font-size: 15px;
    margin-bottom: 2px;
}
.ed-info-content span, .ed-info-content a {
    color: var(--ed-muted);
    font-size: 14px;
}
.ed-info-content a:hover {
    color: var(--ed-primary);
}

.ed-map-frame {
    width: 100%;
    height: 260px;
    border: 0;
    border-radius: var(--ed-radius-sm);
    box-shadow: var(--ed-shadow-sm);
    margin-top: 16px;
}

/* --------------------------------------------------------------------------
   Rodapé Completo (Footer)
   -------------------------------------------------------------------------- */
.ed-footer {
    background: linear-gradient(180deg, #164630 0%, #103423 100%);
    color: #B5CEC1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ed-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding: 68px 0 48px;
}
.ed-footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}
.ed-footer-logo img {
    height: 64px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s ease;
}
.ed-footer-logo:hover img {
    opacity: 0.9;
}
.ed-footer-bio {
    font-size: 14px;
    color: #9FB9AC;
    line-height: 1.6;
    margin-bottom: 16px;
}
.ed-footer h3 {
    color: var(--ed-white);
    font-size: 14px;
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}
.ed-footer a {
    display: block;
    margin: 8px 0;
    color: #B5CEC1;
    font-size: 14px;
}
.ed-footer a:hover {
    color: var(--ed-accent);
}
.ed-footer p {
    font-size: 13.5px;
    color: #9FB9AC;
    margin-bottom: 8px;
}
.ed-footer-contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 13.5px;
}
.ed-footer-contact-item i {
    color: var(--ed-accent);
    margin-top: 3px;
}

.ed-footer-bottom {
    background: #0C281B;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    font-size: 13px;
    color: #83A192;
}
.ed-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.ed-footer-bottom a {
    color: var(--ed-accent);
}

/* --------------------------------------------------------------------------
   Botão Flutuante do WhatsApp
   -------------------------------------------------------------------------- */
.ed-float-wa {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--ed-whatsapp);
    color: var(--ed-white);
    display: grid;
    place-items: center;
    font-size: 30px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s ease, background 0.25s ease;
}
.ed-float-wa:hover {
    transform: scale(1.08);
    background: var(--ed-whatsapp-hover);
    color: var(--ed-white);
}

/* --------------------------------------------------------------------------
   Modal Lightbox para Fotos
   -------------------------------------------------------------------------- */
.ed-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(16, 52, 35, 0.95);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.ed-lightbox-modal.is-active {
    display: flex;
}
.ed-lightbox-box {
    max-width: 900px;
    width: 100%;
    position: relative;
    text-align: center;
}
.ed-lightbox-box img {
    max-height: 80vh;
    margin: 0 auto;
    border-radius: var(--ed-radius-md);
    box-shadow: var(--ed-shadow-lg);
}
.ed-lightbox-caption {
    color: #D3E5DC;
    font-size: 14.5px;
    margin-top: 14px;
}
.ed-lightbox-close {
    position: absolute;
    top: -46px;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    color: var(--ed-white);
    border: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: grid;
    place-items: center;
}
.ed-lightbox-close:hover {
    background: var(--ed-primary);
}

/* --------------------------------------------------------------------------
   Responsividade (Mobile & Tablet)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .ed-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .ed-procedures-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ed-why {
        grid-template-columns: repeat(2, 1fr);
    }
    .ed-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .ed-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ed-proc-layout {
        grid-template-columns: 1fr;
    }
    .ed-proc-sidebar {
        position: static;
    }
}

@media (max-width: 900px) {
    .ed-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ed-white);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px 24px;
        gap: 0;
        border-bottom: 1px solid var(--ed-line);
        box-shadow: var(--ed-shadow-lg);
    }
    .ed-nav.is-open {
        display: flex;
    }
    .ed-nav > a, .ed-nav-dropdown > a {
        padding: 12px 0;
        border-bottom: 1px solid var(--ed-line);
        color: var(--ed-dark);
        font-size: 15px;
        width: 100%;
        justify-content: space-between;
    }
    .ed-dropdown-menu {
        position: static;
        display: flex;
        box-shadow: none;
        border: 0;
        background: var(--ed-paper);
        margin: 6px 0 12px;
        padding: 6px;
    }
    .ed-header .ed-wrap {
        width: 100%;
        max-width: 100%;
        padding-left: 12px;
        padding-right: 6px;
    }
    .ed-header-inner {
        min-height: 76px;
        gap: 8px;
        justify-content: space-between;
    }
    .ed-logo img {
        height: 60px;
        max-height: 64px;
    }
    .ed-header-actions {
        margin-left: auto;
        gap: 6px;
    }
    .ed-burger {
        display: flex;
    }
    .ed-header-cta {
        display: none;
    }
    .ed-header-cta-mobile {
        display: inline-flex;
    }
    .ed-nav-mobile-footer {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-top: 18px;
        padding-top: 18px;
        border-top: 1px solid var(--ed-line);
    }
    .ed-nav-mobile-contact {
        display: flex;
        flex-direction: column;
        gap: 6px;
        font-size: 13px;
        color: var(--ed-muted);
    }
    .ed-nav-mobile-contact-item {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--ed-muted);
        text-decoration: none;
    }
    .ed-nav-mobile-contact-item i {
        color: var(--ed-primary);
    }
    .ed-split,
    .ed-contact-layout,
    .ed-cards,
    .ed-procedures-grid,
    .ed-why,
    .ed-gallery-grid,
    .ed-footer-grid,
    .ed-cta-box {
        grid-template-columns: 1fr;
    }
    .ed-hero {
        min-height: 72vh;
    }
    .ed-hero-copy {
        padding: 72px 0 60px;
    }
    .ed-photo::after {
        display: none;
    }
}

@media (max-width: 600px) {
    .ed-topbar {
        display: none;
    }
    .ed-header .ed-wrap {
        padding-left: 10px;
        padding-right: 4px;
    }
    .ed-header-inner {
        min-height: 74px;
        padding: 4px 0;
    }
    .ed-logo img {
        height: 56px;
        max-height: 60px;
    }
    .ed-header-actions {
        margin-left: auto;
        gap: 6px;
    }
    .ed-header-cta-mobile {
        height: 38px;
        padding: 0 11px;
        font-size: 13px;
        gap: 5px;
    }
    .ed-burger {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    /* Compactação dos Cards no celular (ícone ao lado do título) */
    .ed-cards,
    .ed-why {
        gap: 12px;
    }
    .ed-card,
    .ed-why-card {
        padding: 16px 16px;
        border-radius: 12px;
    }
    .ed-card-head,
    .ed-why-head {
        gap: 12px;
        margin-bottom: 8px;
    }
    .ed-card-head .ed-card-icon,
    .ed-why-head .ed-why-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        font-size: 17px;
    }
    .ed-card-head h3,
    .ed-why-head h3 {
        font-size: 16.5px;
        line-height: 1.25;
    }
    .ed-card p,
    .ed-why-card p {
        font-size: 13.5px;
        line-height: 1.5;
    }

    .ed-hero-actions {
        flex-direction: column;
    }
    .ed-hero-actions .ed-btn {
        width: 100%;
    }
    .ed-cta-actions {
        width: 100%;
        flex-direction: column;
    }
    .ed-cta-actions .ed-btn {
        width: 100%;
    }
    .ed-proc-actions {
        flex-direction: column;
    }
    .ed-proc-btn-learn, .ed-proc-btn-wa {
        width: 100%;
    }
    .ed-page-hero {
        padding: 48px 0 40px;
    }
}

@media (max-width: 380px) {
    .ed-header-inner {
        min-height: 68px;
    }
    .ed-logo img {
        height: 48px;
        max-height: 50px;
    }
    .ed-header-cta-mobile span {
        display: none;
    }
    .ed-header-cta-mobile {
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    .ed-burger {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}
