/* =========================================================================
   Página pública da Dra. Ingrid Esquillaro — sistema editorial "warm clinic".
   Self-contained, servido cru (sem build). Namespace .ie-* para não colidir
   com o fluxo de agendamento (.public-booking-*) que vive em app.css.
   Tipografia: Avie Fraunces (display) + Avie Instrument Sans (texto).
   Paleta desta página (pedido da Dra. 2026-06): mauve rosado, menos roxo.
   Mauve rosado #825c7c, bordo #3b2132, rosa claro #d8afc4, creme/nude.
   Ouro só nas estrelas de avaliação (--ie-star). Botões: mauve -> bordo.
   ========================================================================= */

@font-face {
    font-family: "Avie Fraunces";
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url("/static/fonts/avie/fraunces-latin.woff2?v=20260613-type") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Avie Fraunces";
    font-style: italic;
    font-weight: 300 900;
    font-display: swap;
    src: url("/static/fonts/avie/fraunces-latin.woff2?v=20260613-type") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Avie Fraunces";
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url("/static/fonts/avie/fraunces-latin-ext.woff2?v=20260613-type") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Avie Instrument Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/static/fonts/avie/instrument-sans-latin.woff2?v=20260613-type") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Avie Instrument Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/static/fonts/avie/instrument-sans-latin-ext.woff2?v=20260613-type") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Avie Instrument Sans";
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url("/static/fonts/avie/instrument-sans-italic-latin.woff2?v=20260613-type") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.ie-body {
    --ie-nude: #f7eef3;
    --ie-cream: #fbf5f8;
    --ie-paper: #fffdff;
    --ie-wine: #825c7c;
    --ie-wine-soft: #a87899;
    --ie-bordo: #3b2132;
    --ie-rose: #d8afc4;
    --ie-rose-tint: #efd8e6;
    --ie-rose-wash: #f8edf3;
    /* "gold" agora é lilás suave (menos dourado); o ouro real vive só em --ie-star */
    --ie-gold: #a87899;
    --ie-gold-text: #80506e;
    --ie-gold-soft: rgba(130, 92, 124, 0.30);
    --ie-star: #e0b248;
    --ie-ink: #2c1d23;
    --ie-text: #5d4a50;
    --ie-muted: #8b7980;
    --ie-line: rgba(59, 33, 50, 0.12);
    --ie-line-strong: rgba(59, 33, 50, 0.22);
    --ie-shadow: 0 30px 70px rgba(59, 33, 50, 0.13);
    --ie-shadow-soft: 0 18px 44px rgba(59, 33, 50, 0.08);
    --ie-shell: min(1200px, calc(100vw - 48px));
    --ie-pad: max(24px, calc((100vw - 1200px) / 2));
    margin: 0;
    color: var(--ie-ink);
    font-family: "Avie Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background:
        radial-gradient(1100px 620px at 84% -4%, rgba(216, 175, 196, 0.34), transparent 70%),
        radial-gradient(900px 540px at 6% 8%, rgba(168, 120, 153, 0.16), transparent 68%),
        linear-gradient(180deg, var(--ie-nude) 0%, var(--ie-cream) 46%, var(--ie-paper) 100%);
    overflow-x: hidden;
}
html.public-rise-html {
    height: auto;
    min-height: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scroll-behavior: smooth;
}
html.public-rise-html body.ie-body {
    height: auto;
    min-height: 100vh;
    overflow-x: hidden !important;
    overflow-y: visible !important;
}
.ie-body *,
.ie-body *::before,
.ie-body *::after {
    box-sizing: border-box;
}
.ie-body a {
    color: inherit;
}
.ie-body img {
    max-width: 100%;
}
.ie-body h1,
.ie-body h2,
.ie-body h3 {
    margin: 0;
    font-family: "Avie Fraunces", Georgia, "Times New Roman", serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ie-ink);
}
.ie-body :where(p) {
    margin: 0;
}

/* ---- Reveal ---- */
.ie-reveal {
    opacity: 1;
    transform: none;
}
.js-enabled .ie-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 760ms cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 760ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.js-enabled .ie-reveal.is-visible {
    opacity: 1;
    transform: none;
}
[data-reveal-delay="2"] { transition-delay: 110ms; }
[data-reveal-delay="3"] { transition-delay: 200ms; }
[data-reveal-delay="4"] { transition-delay: 290ms; }
[data-reveal-delay="5"] { transition-delay: 380ms; }
[data-reveal-delay="6"] { transition-delay: 470ms; }

/* ---- Shared type helpers ---- */
.ie-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    color: var(--ie-wine);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.ie-eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--ie-gold);
}
.ie-script {
    margin: 0 0 14px;
    color: var(--ie-wine-soft);
    font-family: "Avie Fraunces", Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.32rem;
    letter-spacing: 0;
}
.ie-section-lead {
    margin-top: 22px;
    max-width: 46ch;
    color: var(--ie-text);
    font-size: 1.06rem;
    line-height: 1.62;
}

/* ===== Skip link ===== */
.ie-skip {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--ie-bordo);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.ie-skip:focus { transform: translateY(72px); }

/* ===== Nav ===== */
.ie-nav {
    position: sticky;
    top: 0;
    z-index: 90;
    width: var(--ie-shell);
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--ie-line);
    background: rgba(251, 245, 248, 0.84);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.ie-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    line-height: 1;
}
.ie-logo-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--ie-wine), var(--ie-bordo));
    box-shadow: 0 10px 24px rgba(59, 33, 50, 0.18);
}
.ie-logo-icon img {
    display: block;
    width: 31px;
    height: 31px;
    object-fit: contain;
}
.ie-logo-type {
    display: grid;
    gap: 2px;
}
.ie-logo-type span {
    font-family: "Avie Fraunces", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ie-ink);
}
.ie-logo-type small {
    color: var(--ie-wine);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.34em;
    text-transform: uppercase;
}
.ie-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.ie-nav-links a {
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--ie-text);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 0.16s ease, background 0.16s ease;
}
.ie-nav-links a:hover {
    color: var(--ie-wine);
    background: rgba(216, 175, 196, 0.24);
}
.ie-nav-cta {
    margin-left: 6px;
    background: linear-gradient(135deg, var(--ie-wine), var(--ie-bordo)) !important;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(59, 33, 50, 0.2);
}
.ie-nav-cta:hover,
.ie-nav-cta:visited { color: #fff !important; }
.ie-nav-toggle { display: none; }

/* ===== Buttons ===== */
.ie-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 24px;
    border: 1px solid var(--ie-gold-soft);
    border-radius: 999px;
    background: linear-gradient(135deg, #9d6f90 0%, #5d334f 58%, #825c7c 100%);
    background-color: var(--ie-wine);
    color: #fff !important;
    text-decoration: none;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
    box-shadow: 0 8px 20px rgba(59, 33, 50, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.10);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.ie-btn:visited,
.ie-btn:hover,
.ie-btn:focus {
    color: #fff !important;
}
.ie-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(59, 33, 50, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.ie-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ie-wine);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
}
.ie-link::after {
    content: "";
    width: 30px;
    height: 1px;
    background: currentColor;
    transition: width 0.2s ease;
}
.ie-link:hover::after { width: 46px; }

/* ===== Hero ===== */
.ie-main { width: 100%; }
.ie-hero {
    width: var(--ie-shell);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.78fr);
    gap: clamp(40px, 5.5vw, 84px);
    align-items: center;
    padding: clamp(44px, 6vw, 76px) 0 clamp(56px, 7vw, 96px);
}
.ie-hero-copy { min-width: 0; }
.ie-hero-title {
    font-size: clamp(3.2rem, 8vw, 6.4rem);
    line-height: 0.96;
    text-wrap: balance;
}
.ie-name {
    display: grid;
    gap: clamp(4px, 0.45vw, 8px);
}
.ie-name-first { color: var(--ie-wine); }
.ie-name-last {
    color: var(--ie-ink);
    font-style: italic;
    font-weight: 500;
}
.ie-lead {
    margin-top: clamp(30px, 2.8vw, 40px);
    max-width: 38ch;
    color: var(--ie-ink);
    font-size: clamp(1.24rem, 2.1vw, 1.6rem);
    line-height: 1.4;
    font-weight: 500;
}
.ie-hero-body {
    margin-top: 18px;
    max-width: 46ch;
    color: var(--ie-text);
    font-size: 1.04rem;
    line-height: 1.64;
}
.ie-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 32px;
}
.ie-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 38px;
    max-width: 560px;
}
.ie-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 12px 16px;
    border: 1px solid var(--ie-line);
    border-radius: 14px;
    background: rgba(255, 253, 249, 0.7);
    box-shadow: var(--ie-shadow-soft);
}
.ie-highlight svg {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    color: var(--ie-gold);
}
.ie-highlight strong {
    color: var(--ie-ink);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
}

.ie-hero-figure {
    position: relative;
    min-width: 0;
    justify-self: end;
    width: 100%;
    max-width: 460px;
}
.ie-hero-figure::before {
    content: "";
    position: absolute;
    inset: 26px -22px -26px 24px;
    border-radius: 220px 220px 24px 24px;
    background: linear-gradient(160deg, var(--ie-rose-wash), rgba(216, 175, 196, 0.28));
    z-index: 0;
}
.ie-hero-figure::after {
    content: "";
    position: absolute;
    inset: 8px 10px;
    border: 1px solid var(--ie-gold-soft);
    border-radius: 220px 220px 18px 18px;
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: multiply;
}
.ie-hero-photo {
    position: relative;
    z-index: 1;
    margin: 0;
}
.ie-hero-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 4.7;
    object-fit: cover;
    object-position: top center;
    border-radius: 210px 210px 16px 16px;
    box-shadow: var(--ie-shadow);
}
.ie-doctor-chip { display: none; }

/* ===== Quote strip ===== */
.ie-strip {
    width: min(940px, calc(100vw - 48px));
    margin: 0 auto;
    padding: 8px 0 clamp(56px, 7vw, 88px);
    display: flex;
    align-items: center;
    gap: 22px;
    text-align: center;
}
.ie-strip::before,
.ie-strip::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ie-gold-soft), transparent);
}
.ie-strip span {
    color: var(--ie-wine);
    font-family: "Avie Fraunces", Georgia, serif;
    font-style: italic;
    font-size: clamp(1.16rem, 2.4vw, 1.52rem);
    line-height: 1.3;
}

/* ===== Generic section ===== */
.ie-section {
    width: var(--ie-shell);
    margin: 0 auto;
    padding: clamp(56px, 7vw, 104px) 0;
}
.ie-section h2 {
    max-width: 780px;
    font-size: clamp(2.15rem, 3.55vw, 3.35rem);
    line-height: 1.06;
    text-wrap: balance;
}
.ie-title-gold {
    color: var(--ie-gold-text);
}
.ie-band {
    padding: clamp(56px, 7vw, 104px) var(--ie-pad);
}

/* ---- Story ---- */
.ie-story {
    display: grid;
    grid-template-columns: minmax(400px, 0.94fr) minmax(0, 1fr);
    gap: clamp(36px, 5vw, 78px);
    align-items: start;
}
.ie-story-copy {
    position: sticky;
    top: 104px;
    max-width: 42rem;
}
.ie-doubts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.ie-doubt {
    padding: 24px;
    border: 1px solid var(--ie-line);
    border-radius: 18px;
    background: rgba(255, 253, 249, 0.78);
    box-shadow: var(--ie-shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ie-doubt:hover {
    transform: translateY(-4px);
    box-shadow: var(--ie-shadow);
}
.ie-doubt span {
    display: block;
    margin-bottom: 12px;
    color: var(--ie-gold);
    font-family: "Avie Fraunces", Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
}
.ie-doubt strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ie-ink);
    font-family: "Avie Fraunces", Georgia, serif;
    font-size: 1.22rem;
    font-weight: 600;
}
.ie-doubt p {
    color: var(--ie-text);
    font-size: 0.96rem;
    line-height: 1.56;
}

/* ---- Family lens ---- */
.ie-family {
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
}
.ie-family-photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--ie-line);
    border-radius: 22px;
    box-shadow: var(--ie-shadow);
    background: var(--ie-rose-wash);
}
.ie-family-photo::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 36%;
    background: linear-gradient(180deg, transparent, rgba(59, 33, 50, 0.18));
    pointer-events: none;
}
.ie-family-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.ie-family-copy {
    padding: clamp(26px, 4vw, 46px);
    border-left: 2px solid var(--ie-gold-soft);
}
.ie-family-copy blockquote {
    margin: 26px 0 0;
    padding: 0;
}
.ie-family-copy blockquote p {
    max-width: 48rem;
    color: var(--ie-ink);
    font-family: "Avie Fraunces", Georgia, serif;
    font-size: clamp(1.42rem, 2.55vw, 2.25rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.28;
}

/* ---- Approach (dark wine band) ---- */
.ie-approach {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(820px 500px at 84% 6%, rgba(168, 120, 153, 0.26), transparent 70%),
        radial-gradient(700px 480px at 6% 96%, rgba(216, 175, 196, 0.22), transparent 70%),
        linear-gradient(150deg, #4a2531 0%, var(--ie-bordo) 60%, #2a141d 100%);
}
.ie-approach::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -90px;
    width: 360px;
    height: 360px;
    border: 1px solid var(--ie-gold-soft);
    border-radius: 50%;
    pointer-events: none;
}
.ie-approach-head {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin-bottom: clamp(34px, 4vw, 56px);
}
.ie-approach-head .ie-script { color: var(--ie-rose); }
.ie-approach-head h2 { color: #fff; }
.ie-approach-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.ie-approach-card {
    padding: 28px 26px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(6px);
}
.ie-approach-card span {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border: 1px solid var(--ie-gold-soft);
    border-radius: 50%;
    color: var(--ie-gold);
    font-family: "Avie Fraunces", Georgia, serif;
    font-size: 1.16rem;
    font-weight: 600;
}
.ie-approach-card h3 {
    margin-bottom: 12px;
    color: #fff;
    font-size: 1.32rem;
}
.ie-approach-card p {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.98rem;
    line-height: 1.58;
}

/* ---- Observation ---- */
.ie-observe {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.92fr);
    gap: clamp(32px, 4vw, 60px);
    align-items: start;
}
.ie-observe-copy {
    position: sticky;
    top: 104px;
    max-width: 44rem;
}
.ie-observe h2,
.ie-trajectory h2,
.ie-prepare h2,
.ie-reviews h2,
.ie-location h2 {
    font-size: clamp(2.02rem, 2.82vw, 2.86rem);
    line-height: 1.1;
    text-wrap: pretty;
}
.ie-observe h2 {
    font-size: clamp(1.92rem, 2.5vw, 2.5rem);
    text-wrap: balance;
}
.ie-signals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.ie-signal {
    position: relative;
    padding: 22px 22px 22px 24px;
    border: 1px solid var(--ie-line);
    border-radius: 16px;
    background: var(--ie-paper);
    box-shadow: var(--ie-shadow-soft);
}
.ie-signal::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--ie-gold), var(--ie-rose));
}
.ie-signal strong {
    display: block;
    margin-bottom: 6px;
    color: var(--ie-wine);
    font-family: "Avie Fraunces", Georgia, serif;
    font-size: 1.14rem;
    font-weight: 600;
}
.ie-signal span {
    color: var(--ie-text);
    font-size: 0.94rem;
    line-height: 1.5;
}

/* ---- Values ---- */
.ie-values {
    background: linear-gradient(180deg, var(--ie-rose-wash), rgba(255, 253, 249, 0.4));
}
.ie-values-head {
    max-width: 760px;
    margin-bottom: clamp(30px, 4vw, 48px);
}
.ie-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.ie-value {
    padding: 28px;
    border: 1px solid var(--ie-line);
    border-top: 3px solid var(--ie-gold);
    border-radius: 4px 4px 18px 18px;
    background: rgba(255, 253, 249, 0.86);
    box-shadow: var(--ie-shadow-soft);
}
.ie-value strong {
    display: block;
    margin-bottom: 10px;
    color: var(--ie-ink);
    font-family: "Avie Fraunces", Georgia, serif;
    font-size: 1.3rem;
    font-weight: 600;
}
.ie-value p {
    color: var(--ie-text);
    font-size: 0.98rem;
    line-height: 1.58;
}

/* ---- Trajectory ---- */
.ie-trajectory {
    display: grid;
    grid-template-columns: minmax(520px, 1.14fr) minmax(0, 0.86fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: start;
}
.ie-traj-copy { position: sticky; top: 104px; max-width: 50rem; }
.ie-cert-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin-top: 28px;
    padding: 18px;
    border: 1px solid var(--ie-gold-soft);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(130, 92, 124, 0.1), rgba(255, 253, 255, 0.82)),
        var(--ie-paper);
    box-shadow: var(--ie-shadow-soft);
}
.ie-cert-card img {
    width: 92px;
    height: 112px;
    object-fit: cover;
    object-position: center top;
    border-radius: 14px;
    background: var(--ie-bordo);
}
.ie-cert-card span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--ie-wine);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.ie-cert-card p {
    color: var(--ie-text);
    font-size: 0.94rem;
    line-height: 1.5;
}
.ie-cert-card small {
    display: block;
    margin-top: 10px;
    color: var(--ie-wine);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.36;
}
.ie-credentials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 28px;
    border: 1px solid var(--ie-line);
    border-radius: 14px;
    overflow: hidden;
    background: var(--ie-line);
}
.ie-credentials > div {
    padding: 16px 18px;
    background: var(--ie-paper);
}
.ie-credentials span {
    display: block;
    margin-bottom: 4px;
    color: var(--ie-wine);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.ie-credentials strong {
    color: var(--ie-ink);
    font-size: 0.96rem;
    font-weight: 600;
}
.ie-timeline {
    display: grid;
    gap: 0;
}
.ie-timeline article {
    position: relative;
    padding: 26px 0 26px 34px;
    border-bottom: 1px solid var(--ie-line);
}
.ie-timeline article:last-child { border-bottom: 0; }
.ie-timeline article::before {
    content: "";
    position: absolute;
    left: 0;
    top: 32px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--ie-gold);
    box-shadow: 0 0 0 5px var(--ie-rose-wash);
}
.ie-timeline article::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 43px;
    bottom: -1px;
    width: 1px;
    background: var(--ie-line);
}
.ie-timeline article:last-child::after { display: none; }
.ie-timeline span {
    display: block;
    margin-bottom: 6px;
    color: var(--ie-wine);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.ie-timeline h3 {
    margin-bottom: 8px;
    font-size: 1.26rem;
}
.ie-timeline p {
    color: var(--ie-text);
    font-size: 0.98rem;
    line-height: 1.58;
}
.ie-timeline small {
    display: block;
    margin-top: 8px;
    color: var(--ie-wine-soft);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.38;
}

/* ---- Prepare ---- */
.ie-prepare {
    display: grid;
    grid-template-columns: minmax(380px, 0.86fr) minmax(0, 1fr);
    gap: clamp(36px, 5vw, 68px);
    align-items: start;
    background: var(--ie-cream);
}
.ie-prepare-copy { max-width: 40rem; }
.ie-prepare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.ie-prepare-grid article {
    display: flex;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--ie-line);
    border-radius: 16px;
    background: rgba(255, 253, 249, 0.82);
}
.ie-prepare-grid article:last-child { grid-column: 1 / -1; }
.ie-prep-num {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ie-rose-wash);
    color: var(--ie-wine);
    font-family: "Avie Fraunces", Georgia, serif;
    font-size: 0.95rem;
    font-weight: 600;
}
.ie-prepare-grid strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ie-ink);
    font-family: "Avie Fraunces", Georgia, serif;
    font-size: 1.12rem;
    font-weight: 600;
}
.ie-prepare-grid span {
    color: var(--ie-text);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* ---- Reviews ---- */
.ie-reviews {
    display: grid;
    grid-template-columns: minmax(380px, 0.86fr) minmax(0, 1fr);
    gap: clamp(36px, 5vw, 68px);
    align-items: start;
}
.ie-reviews-copy { max-width: 42rem; }
.ie-google-card {
    padding: 28px;
    border: 1px solid var(--ie-line);
    border-radius: 20px;
    background:
        radial-gradient(360px 220px at 90% 4%, rgba(216, 175, 196, 0.2), transparent 70%),
        var(--ie-paper);
    box-shadow: var(--ie-shadow-soft);
}
.ie-google-score {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--ie-line);
}
.ie-google-score > div {
    display: grid;
    gap: 4px;
}
.ie-google-score > div > span {
    color: var(--ie-wine);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.ie-google-score em {
    color: var(--ie-muted);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 700;
}
.ie-google-score strong {
    color: var(--ie-ink);
    font-family: "Avie Fraunces", Georgia, serif;
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1;
}
.ie-google-score strong small {
    font-size: 1rem;
    color: var(--ie-muted);
}
.ie-google-stars {
    color: var(--ie-star);
    font-size: 1rem;
    letter-spacing: 0.08em;
}
.ie-google-score p {
    flex-basis: 100%;
    color: var(--ie-text);
    font-size: 0.94rem;
}
.ie-review-list {
    display: grid;
    gap: 14px;
}
.ie-review-list blockquote {
    margin: 0;
    padding: 18px 20px;
    border: 1px solid var(--ie-line);
    border-radius: 14px;
    background: var(--ie-paper);
    box-shadow: var(--ie-shadow-soft);
}
.ie-review-list blockquote p {
    color: var(--ie-ink);
    font-size: 0.98rem;
    line-height: 1.56;
}
.ie-review-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.ie-review-avatar {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ie-wine), var(--ie-bordo));
    color: #fff;
    font-family: "Avie Fraunces", Georgia, serif;
    font-size: 1.05rem;
    font-weight: 600;
}
.ie-review-id {
    display: grid;
    gap: 1px;
    flex: 1 1 auto;
    min-width: 0;
}
.ie-review-id strong {
    color: var(--ie-ink);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ie-review-id small {
    color: var(--ie-muted);
    font-size: 0.78rem;
}
.ie-review-g {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
}
.ie-review-stars {
    color: var(--ie-star);
    margin-bottom: 8px;
    font-size: 0.94rem;
    letter-spacing: 0.05em;
}
.ie-review-list footer {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
    color: var(--ie-muted);
    font-size: 0.82rem;
    font-weight: 600;
}
.ie-review-list footer a { color: var(--ie-wine); }

@media (min-width: 1100px) {
    .ie-review-list blockquote {
        padding: 16px 18px;
    }
    .ie-review-list blockquote p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    .ie-review-list footer {
        gap: 8px;
        font-size: 0.76rem;
    }
}
.ie-google-action {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    color: var(--ie-wine);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}
.ie-google-action:hover { text-decoration: underline; }
.ie-trust-panel {
    padding: 20px;
    border: 1px dashed var(--ie-line-strong);
    border-radius: 14px;
    background: rgba(244, 230, 225, 0.34);
}
.ie-trust-panel strong {
    display: block;
    margin-bottom: 6px;
    color: var(--ie-ink);
    font-family: "Avie Fraunces", Georgia, serif;
    font-size: 1.16rem;
}
.ie-trust-panel p { color: var(--ie-text); font-size: 0.96rem; line-height: 1.56; }
.ie-google-note {
    margin-top: 16px;
    color: var(--ie-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* ---- Proof: avaliações + localização lado a lado ---- */
.ie-proof-intro {
    max-width: 760px;
    margin-bottom: clamp(28px, 4vw, 48px);
}
.ie-proof-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: clamp(22px, 2.6vw, 36px);
    align-items: start;
}
.ie-proof-grid .ie-google-card { align-self: start; }
.ie-proof-place {
    display: grid;
    gap: 18px;
    min-width: 0;
}
.ie-place-head h3 {
    font-family: "Avie Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 2.1vw, 1.95rem);
    line-height: 1.14;
    color: var(--ie-ink);
    text-wrap: balance;
}
.ie-place-head address {
    display: block;
    margin-top: 12px;
    color: var(--ie-text);
    font-style: normal;
    font-size: 1rem;
    line-height: 1.55;
}

/* ---- FAQ ---- */
.ie-faq-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.ie-faq-list {
    display: grid;
    gap: 12px;
    max-width: 920px;
}
.ie-faq-list details {
    border: 1px solid var(--ie-line);
    border-radius: 16px;
    background: rgba(255, 253, 249, 0.82);
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.ie-faq-list details[open] {
    border-color: var(--ie-gold-soft);
    box-shadow: var(--ie-shadow-soft);
}
.ie-faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    color: var(--ie-ink);
    font-family: "Avie Fraunces", Georgia, serif;
    font-size: 1.16rem;
    font-weight: 600;
}
.ie-faq-list summary::-webkit-details-marker { display: none; }
.ie-faq-list summary::after {
    content: "+";
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--ie-gold-soft);
    color: var(--ie-wine);
    font-size: 1.3rem;
    line-height: 1;
    transition: transform 0.2s ease;
}
.ie-faq-list details[open] summary::after { transform: rotate(45deg); }
.ie-faq-list p {
    padding: 0 24px 22px;
    color: var(--ie-text);
    font-size: 0.99rem;
    line-height: 1.62;
}

/* ---- Location ---- */
.ie-location {
    display: grid;
    grid-template-columns: minmax(380px, 0.88fr) minmax(0, 1fr);
    gap: clamp(36px, 5vw, 64px);
    align-items: center;
}
.ie-location-copy { max-width: 42rem; }
.ie-location-copy address {
    margin-top: 16px;
    color: var(--ie-text);
    font-style: normal;
    font-size: 1.02rem;
    line-height: 1.55;
}
.ie-location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 24px;
}
.ie-location-visuals {
    display: grid;
    gap: 16px;
    min-width: 0;
}
.ie-clinic-gallery-block {
    display: grid;
    gap: 22px;
    margin-top: clamp(34px, 5vw, 58px);
}
.ie-clinic-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.ie-clinic-gallery-head {
    display: grid;
    gap: 4px;
    padding-top: 8px;
}
.ie-clinic-gallery-head .ie-script {
    margin-bottom: 2px;
}
.ie-clinic-gallery-head h3 {
    max-width: 30rem;
    color: var(--ie-bordo);
    font-size: clamp(1.42rem, 2vw, 1.8rem);
    line-height: 1.12;
}
.ie-clinic-gallery-head .ie-link {
    justify-self: start;
    margin-top: 6px;
}
.ie-clinic-gallery figure {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--ie-line);
    border-radius: 18px;
    background: var(--ie-paper);
    box-shadow: var(--ie-shadow-soft);
}
.ie-clinic-gallery figure:first-child {
    grid-column: span 2;
    grid-row: span 2;
}
.ie-clinic-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}
.ie-clinic-gallery figure:first-child img {
    height: 100%;
    aspect-ratio: 1 / 1.08;
}
.ie-clinic-gallery figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 34px 16px 14px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.24;
    background: linear-gradient(180deg, transparent, rgba(59, 33, 50, 0.78));
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}
.ie-map {
    display: grid;
    margin: 0;
    border: 1px solid var(--ie-line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--ie-shadow);
}
.ie-map-embed {
    display: block;
    width: 100%;
    height: clamp(240px, 26vw, 340px);
    border: 0;
    background: var(--ie-rose-wash);
}
.ie-map-card {
    order: -1;
    display: grid;
    align-content: center;
    gap: 16px;
    min-height: 320px;
    padding: clamp(28px, 4vw, 44px);
    background:
        radial-gradient(460px 320px at 84% 8%, rgba(216, 175, 196, 0.32), transparent 70%),
        radial-gradient(360px 300px at 6% 96%, rgba(168, 120, 153, 0.16), transparent 70%),
        linear-gradient(150deg, var(--ie-rose-wash), var(--ie-paper));
}
.ie-map.has-embed .ie-map-card {
    min-height: 220px;
    border-bottom: 1px solid var(--ie-line);
}
.ie-map-pin {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid var(--ie-gold-soft);
    background: rgba(255, 253, 249, 0.8);
    color: var(--ie-wine);
}
.ie-map-pin svg { width: 26px; height: 26px; }
.ie-map-card strong {
    color: var(--ie-ink);
    font-family: "Avie Fraunces", Georgia, serif;
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 600;
    line-height: 1.12;
}
.ie-map-card p { color: var(--ie-text); font-size: 1rem; line-height: 1.58; }
.ie-map-modes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ie-map-modes span {
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid var(--ie-gold-soft);
    background: rgba(255, 253, 249, 0.7);
    color: var(--ie-wine);
    font-size: 0.84rem;
    font-weight: 700;
}

/* ---- Final CTA ---- */
.ie-final {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: wrap;
    color: #fff;
    background:
        radial-gradient(620px 420px at 12% 14%, rgba(168, 120, 153, 0.24), transparent 70%),
        radial-gradient(560px 420px at 92% 86%, rgba(216, 175, 196, 0.2), transparent 70%),
        linear-gradient(140deg, var(--ie-wine) 0%, var(--ie-bordo) 70%);
}
.ie-final::before {
    content: "";
    position: absolute;
    bottom: -120px;
    left: -60px;
    width: 320px;
    height: 320px;
    border: 1px solid var(--ie-gold-soft);
    border-radius: 50%;
    pointer-events: none;
}
.ie-final > div {
    position: relative;
    z-index: 1;
    max-width: 38ch;
}
.ie-final .ie-script { color: var(--ie-rose); }
.ie-final h2 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.5rem); }
.ie-final p { margin-top: 16px; color: rgba(255, 255, 255, 0.78); font-size: 1.04rem; }
.ie-final .ie-btn {
    position: relative;
    z-index: 1;
    background: #fff;
    background-color: #fff;
    color: var(--ie-wine) !important;
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
    text-shadow: none;
}
.ie-final .ie-btn::after { display: none; }
.ie-final .ie-btn:hover,
.ie-final .ie-btn:visited { color: var(--ie-bordo) !important; }

/* ===== Floating CTA ===== */
.ie-fab {
    position: fixed;
    right: 22px;
    bottom: 96px; /* acima do FAB verde do WhatsApp */
    z-index: 120;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border: 1px solid var(--ie-gold-soft);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ie-wine), var(--ie-bordo));
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.94rem;
    box-shadow: 0 18px 38px rgba(59, 33, 50, 0.32);
    animation: ie-fab-pulse 6s ease-in-out infinite;
}
.ie-fab:visited,
.ie-fab:hover,
.ie-fab:focus {
    color: #fff !important;
}
.ie-fab svg { width: 20px; height: 20px; }
@keyframes ie-fab-pulse {
    0%, 70%, 100% { transform: translateY(0); }
    80% { transform: translateY(-4px); }
}

/* ===== Signature footer (partial public_avie_signature.html) ===== */
.ie-body .public-avie-signature {
    margin: 0;
    padding: 30px 24px 44px;
    text-align: center;
}
.ie-body .public-avie-signature a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ie-muted);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    transition: color 0.16s ease;
}
.ie-body .public-avie-signature a:hover { color: var(--ie-wine); }
.ie-body .public-avie-signature img {
    width: 22px;
    height: 22px;
    opacity: 0.85;
}
.ie-body .public-legal-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: center;
    padding: 0 24px 38px;
    color: var(--ie-muted);
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.45;
}
.ie-body .public-legal-footer span {
    max-width: 620px;
}
.ie-body .public-legal-footer a {
    color: var(--ie-wine);
    font-weight: 760;
    text-decoration: none;
}
.ie-body .public-legal-footer a:hover {
    text-decoration: underline;
}
/* No mobile os FABs flutuam sobre o fim da pagina: reserva de area segura
   para o footer legal nunca ficar coberto (o perfil empilha 2 FABs). */
@media (max-width: 760px) {
    .ie-body .public-legal-footer { padding-bottom: calc(max(14px, env(safe-area-inset-bottom)) + 88px); }
    body[data-page="dra-perfil"] .public-legal-footer { padding-bottom: calc(max(14px, env(safe-area-inset-bottom)) + 156px); }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 980px) {
    .ie-hero,
    .ie-story,
    .ie-family,
    .ie-observe,
    .ie-trajectory,
    .ie-prepare,
    .ie-reviews,
    .ie-location,
    .ie-proof-grid {
        grid-template-columns: 1fr;
    }
    .ie-story-copy,
    .ie-family-copy,
    .ie-observe-copy,
    .ie-traj-copy {
        position: static;
        max-width: none;
    }
    .ie-family-copy {
        padding: 0;
        border-left: 0;
    }
    .ie-hero-figure {
        justify-self: center;
        max-width: 400px;
        order: -1;
    }
    .ie-location-visuals {
        width: 100%;
    }
    .ie-approach-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ie-values-grid {
        grid-template-columns: 1fr;
    }
    .ie-clinic-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .ie-final { gap: 28px; }
}

@media (max-width: 760px) {
    .ie-nav-links { display: none; }
    .ie-nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 18px;
        border: 1px solid var(--ie-line-strong);
        border-radius: 999px;
        background: rgba(255, 253, 249, 0.7);
        color: var(--ie-ink);
        font-family: inherit;
        font-size: 0.88rem;
        font-weight: 700;
        cursor: pointer;
    }
    .ie-nav.is-open .ie-nav-links {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        display: grid;
        gap: 4px;
        padding: 14px;
        border: 1px solid var(--ie-line);
        border-radius: 18px;
        background: rgba(255, 253, 249, 0.98);
        box-shadow: var(--ie-shadow);
        backdrop-filter: blur(16px);
    }
    .ie-nav.is-open .ie-nav-links a {
        padding: 12px 14px;
        font-size: 0.96rem;
    }
    .ie-nav.is-open .ie-nav-cta { text-align: center; justify-content: center; }
    .ie-nav { position: relative; }
}

@media (max-width: 620px) {
    .ie-body { --ie-shell: calc(100vw - 32px); font-size: 16px; }
    .ie-nav { min-height: 64px; }
    .ie-hero {
        width: 100%;
        padding: 0 0 48px;
        gap: 22px;
    }
    .ie-hero-copy {
        width: var(--ie-shell);
        margin: 0 auto;
        position: relative;
        z-index: 3;
    }
    .ie-hero-figure {
        order: -1;
        justify-self: stretch;
        width: 100%;
        max-width: none;
        margin: 0;
    }
    .ie-hero-figure::before,
    .ie-hero-figure::after {
        display: none;
    }
    .ie-hero-photo {
        overflow: hidden;
        background: var(--ie-rose-wash);
    }
    .ie-hero-photo::after {
        content: "";
        position: absolute;
        z-index: 2;
        left: 0;
        right: 0;
        bottom: -1px;
        height: clamp(92px, 24vw, 124px);
        background: linear-gradient(180deg, rgba(247, 238, 243, 0), var(--ie-nude) 72%, var(--ie-nude));
        pointer-events: none;
    }
    .ie-hero-photo img {
        aspect-ratio: 4 / 4.35;
        border-radius: 0;
        box-shadow: none;
    }
    .ie-hero-title {
        font-size: clamp(2.86rem, 13.2vw, 3.7rem);
        line-height: 0.98;
    }
    .ie-name { gap: 3px; }
    .ie-lead { max-width: none; }
    .ie-hero-body { max-width: none; }
    .ie-actions { flex-direction: column; align-items: stretch; }
    .ie-btn { width: 100%; }
    .ie-link { justify-content: center; }
    .ie-section h2,
    .ie-observe h2,
    .ie-trajectory h2,
    .ie-prepare h2,
    .ie-reviews h2,
    .ie-location h2 {
        max-width: none;
        font-size: clamp(2rem, 8.6vw, 2.55rem);
        line-height: 1.08;
    }
    .ie-highlights {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 28px;
    }
    .ie-signals,
    .ie-prepare-grid {
        grid-template-columns: 1fr;
    }
    /* Cards em carrossel horizontal (swipe) para a pagina ficar mais enxuta.
       Bleed ate a borda da tela: o card cortado a direita sinaliza "arrasta". */
    .ie-doubts,
    .ie-approach-grid,
    .ie-values-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: min(78vw, 320px);
        grid-template-columns: none;
        gap: 12px;
        overflow-x: auto;
        margin: 0 calc(-1 * var(--ie-pad));
        padding: 4px var(--ie-pad) 16px;
        scroll-snap-type: x mandatory;
        scroll-padding-left: var(--ie-pad);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .ie-doubts::-webkit-scrollbar,
    .ie-approach-grid::-webkit-scrollbar,
    .ie-values-grid::-webkit-scrollbar { display: none; }
    .ie-doubt,
    .ie-approach-card,
    .ie-value {
        scroll-snap-align: start;
        min-width: 0;
    }
    /* Dentro do scroller horizontal os cards fora da tela nao interseccionam
       com o viewport; sem isto ficariam invisiveis ate o failsafe do reveal. */
    .ie-approach-card.ie-reveal,
    .ie-value.ie-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .ie-clinic-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .ie-clinic-gallery figure:first-child {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    .ie-clinic-gallery img { aspect-ratio: 4 / 5; }
    .ie-clinic-gallery figure:first-child img { aspect-ratio: 16 / 10.8; }
    .ie-clinic-gallery figcaption {
        display: none;
    }
    .ie-map-card {
        min-height: auto;
        padding: 24px 82px 24px 24px;
    }
    .ie-cert-card {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
    }
    .ie-cert-card img {
        width: 76px;
        height: 94px;
        border-radius: 12px;
    }
    .ie-map.has-embed .ie-map-card {
        border-bottom: 1px solid var(--ie-line);
    }
    .ie-map-embed {
        height: 240px;
    }
    .ie-prepare-grid article:last-child { grid-column: auto; }
    .ie-credentials { grid-template-columns: 1fr; }
    .ie-strip { gap: 14px; }
    .ie-faq-list summary {
        padding: 18px;
        font-size: 1.06rem;
        line-height: 1.28;
    }
    .ie-faq-list p {
        padding: 0 18px 20px;
    }
    .ie-fab {
        right: max(14px, env(safe-area-inset-right));
        bottom: calc(max(14px, env(safe-area-inset-bottom)) + 74px);
        justify-content: center;
        width: auto;
        min-width: 118px;
        height: 52px;
        padding: 0 18px;
    }
    .ie-fab span { display: inline; }
}

/* ===== WhatsApp FAB (verde, estilo landing, com chamada de atenção) ===== */
.ie-wa-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 110;
    display: inline-flex;
    align-items: center;
    height: 62px;
    border-radius: 999px;
    background: linear-gradient(140deg, #2bd566 0%, #128c4e 100%);
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(18, 140, 78, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    animation: ie-wa-bounce 3.6s ease-in-out infinite;
}
.ie-wa-fab:visited,
.ie-wa-fab:hover,
.ie-wa-fab:focus { color: #fff !important; }
.ie-wa-fab::before {
    content: "";
    position: absolute;
    left: 1px;
    bottom: 1px;
    width: 60px;
    height: 60px;
    border-radius: 999px;
    pointer-events: none;
    box-shadow: 0 0 0 0 rgba(43, 213, 102, 0.55);
    animation: ie-wa-ring 2.4s ease-out infinite;
}
.ie-wa-fab-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    position: relative;
    z-index: 1;
}
.ie-wa-fab-icon svg { width: 30px; height: 30px; }
.ie-wa-fab-label {
    padding-right: 22px;
    white-space: nowrap;
    font-weight: 700;
    font-size: 0.96rem;
}
.ie-wa-fab:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(18, 140, 78, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
@keyframes ie-wa-ring {
    0% { box-shadow: 0 0 0 0 rgba(43, 213, 102, 0.55); }
    70% { box-shadow: 0 0 0 18px rgba(43, 213, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(43, 213, 102, 0); }
}
@keyframes ie-wa-bounce {
    0%, 82%, 100% { transform: translateY(0); }
    88% { transform: translateY(-5px); }
    94% { transform: translateY(-2px); }
}
@media (max-width: 760px) {
    .ie-wa-fab {
        right: max(14px, env(safe-area-inset-right));
        bottom: max(14px, env(safe-area-inset-bottom));
        height: 52px;
    }
    .ie-wa-fab-icon { width: 52px; height: 52px; flex: 0 0 52px; }
    .ie-wa-fab-icon svg { width: 26px; height: 26px; }
    .ie-wa-fab-label { padding-right: 18px; font-size: 0.94rem; }
    .ie-wa-fab::before { width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
    .ie-btn::after,
    .ie-fab,
    .ie-wa-fab,
    .ie-wa-fab::before {
        animation: none;
    }
    html.public-rise-html { scroll-behavior: auto; }
}

/* =====================================================================
   Agendamento — modal "reserve um horário" (estilo Calendly/cal.com)
   ===================================================================== */
.ie-vh {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
html.ie-booking-lock,
html.ie-booking-lock body.ie-body { overflow: hidden !important; }

.ie-booking[hidden] { display: none; }
/* [hidden] em botões .ie-btn precisa vencer o display:inline-flex da classe */
.ie-booking [hidden] { display: none !important; }
.ie-booking {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 3vw, 36px);
}
.ie-booking-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(36, 16, 24, 0.5);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.28s ease;
}
.ie-booking.is-open .ie-booking-backdrop { opacity: 1; }

.ie-booking-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    /* Linha 1fr com min 0: deixa a coluna de conteudo encolher dentro do max-height
       e rolar internamente (sem isso o grid cresce com o conteudo e o overflow:hidden
       do dialog corta o rodape com os botoes no desktop). */
    grid-template-rows: minmax(0, 1fr);
    width: min(940px, 100%);
    max-height: min(92vh, 780px);
    background: var(--ie-paper);
    border: 1px solid var(--ie-line);
    border-radius: 26px;
    box-shadow: var(--ie-shadow);
    overflow: hidden;
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ie-booking.is-open .ie-booking-dialog { opacity: 1; transform: none; }

.ie-booking-x {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--ie-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ie-ink);
    cursor: pointer;
    transition: background 0.16s ease, transform 0.2s ease;
}
.ie-booking-x:hover { background: #fff; transform: rotate(90deg); }
.ie-booking-x svg { width: 18px; height: 18px; }

/* ---- Aside (resumo) ---- */
.ie-booking-aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: clamp(24px, 3vw, 38px);
    background:
        radial-gradient(120% 90% at 0% 0%, var(--ie-rose-wash), transparent 60%),
        linear-gradient(165deg, var(--ie-cream), var(--ie-nude));
    border-right: 1px solid var(--ie-line);
    overflow-y: auto;
    min-height: 0;
}
.ie-booking-doc { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.ie-booking-doc img,
.ie-booking-doc span {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: var(--ie-shadow-soft);
    display: grid;
    place-items: center;
    background: var(--ie-wine);
    color: #fff;
    font-weight: 700;
}
.ie-booking-doc strong { display: block; font-family: "Avie Fraunces", Georgia, serif; font-size: 1.04rem; color: var(--ie-ink); }
.ie-booking-doc small { color: var(--ie-muted); font-size: 0.82rem; }
.ie-booking-aside .ie-script { margin: 0; font-size: 1.04rem; }
.ie-booking-aside h2 { font-size: clamp(1.5rem, 2.4vw, 1.94rem); line-height: 1.12; }
.ie-booking-meta {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    border: 1px solid var(--ie-line);
    border-radius: 16px;
    overflow: hidden;
}
.ie-booking-meta li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.62);
}
.ie-booking-meta span { color: var(--ie-muted); font-size: 0.86rem; }
.ie-booking-meta strong { color: var(--ie-ink); font-weight: 700; font-size: 0.95rem; text-align: right; }
.ie-booking-reassure { margin-top: auto; padding-top: 14px; color: var(--ie-text); font-size: 0.9rem; line-height: 1.5; }

/* ---- Main (passos) ---- */
.ie-booking-main {
    display: flex;
    flex-direction: column;
    padding: clamp(22px, 2.6vw, 34px);
    overflow-y: auto;
    min-height: 0;
}
.ie-booking-steps { list-style: none; display: flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 0; }
.ie-booking-steps li { display: flex; align-items: center; gap: 8px; color: var(--ie-muted); font-size: 0.82rem; font-weight: 700; }
.ie-booking-steps li::after { content: ""; width: 16px; height: 1px; background: var(--ie-line-strong); margin-left: 2px; }
.ie-booking-steps li:last-child::after { display: none; }
.ie-booking-steps li span {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid var(--ie-line-strong);
    font-size: 0.8rem;
}
.ie-booking-steps li.is-active { color: var(--ie-wine); }
.ie-booking-steps li.is-active span { background: var(--ie-wine); border-color: var(--ie-wine); color: #fff; }
.ie-booking-steps li.is-done span { background: var(--ie-gold); border-color: var(--ie-gold); color: #fff; }
.ie-booking-steps .ie-dot-label { font-style: normal; }
/* Faixa adulto: passo 3 (Paciente) some; corta tambem o conector do passo 2. */
.ie-booking-steps li[hidden] { display: none; }
.ie-booking-steps.is-adult li[data-step-dot='2']::after { display: none; }

.ie-booking-form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.ie-booking-panel { flex: 1; }
.ie-booking-panel[hidden] { display: none; }
.ie-booking-head .ie-script { font-size: 1.02rem; }
.ie-booking-head h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-top: 4px; }

.ie-booking-modality { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border: 0; padding: 0; margin: 16px 0 18px; }
.ie-booking-modality label { position: relative; display: block; cursor: pointer; }
.ie-booking-modality input { position: absolute; opacity: 0; inset: 0; }
.ie-booking-modality span {
    display: block;
    padding: 12px 14px;
    border: 1px solid var(--ie-line-strong);
    border-radius: 14px;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ie-booking-modality strong { display: block; color: var(--ie-ink); }
.ie-booking-modality small { color: var(--ie-muted); font-size: 0.82rem; }
.ie-booking-modality input:checked + span { border-color: var(--ie-wine); box-shadow: 0 0 0 1px var(--ie-wine), var(--ie-shadow-soft); }
.ie-booking-modality input:focus-visible + span { outline: 2px solid var(--ie-gold); outline-offset: 2px; }

.ie-booking-sublabel { margin: 14px 0 6px; font-size: 0.86rem; font-weight: 700; color: var(--ie-ink); }
.ie-booking-sublabel + .ie-booking-modality { margin-top: 0; margin-bottom: 12px; }

.ie-booking-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: thin; }
.ie-booking-day {
    flex: 0 0 auto;
    min-width: 64px;
    padding: 8px 12px;
    border: 1px solid var(--ie-line-strong);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    font-family: inherit;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.ie-booking-day small { display: block; color: var(--ie-muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.ie-booking-day strong { color: var(--ie-ink); font-size: 0.96rem; }
.ie-booking-day.is-active { border-color: var(--ie-wine); background: var(--ie-rose-wash); }
.ie-booking-day.is-active strong { color: var(--ie-wine); }

.ie-booking-timegrid { display: none; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.ie-booking-timegrid.is-active { display: grid; }
.ie-booking-time {
    padding: 12px 8px;
    border: 1px solid var(--ie-line-strong);
    border-radius: 12px;
    background: #fff;
    color: var(--ie-ink);
    font-family: inherit;
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    transition: border-color 0.14s ease, background 0.14s ease, transform 0.14s ease;
}
.ie-booking-time:hover { border-color: var(--ie-wine); transform: translateY(-1px); }
.ie-booking-time.is-selected { border-color: var(--ie-wine); background: var(--ie-wine); color: #fff; }

.ie-booking-hint { margin-top: 14px; color: var(--ie-muted); font-size: 0.84rem; line-height: 1.5; }
.ie-booking-empty { padding: 26px; border: 1px dashed var(--ie-line-strong); border-radius: 16px; text-align: center; }
.ie-booking-empty strong { display: block; color: var(--ie-ink); margin-bottom: 6px; }
.ie-booking-empty p { color: var(--ie-text); }

.ie-booking-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
/* Cabecalho de grupo (Responsavel / Endereco / Paciente) dentro do grid. */
.ie-field-group {
    grid-column: 1 / -1;
    margin: 8px 0 0;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--ie-line);
    color: var(--ie-wine);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.ie-booking-fields > .ie-field-group:first-child { margin-top: 0; }
.ie-field { display: flex; flex-direction: column; gap: 6px; font-size: 0.86rem; font-weight: 700; color: var(--ie-ink); }
.ie-field em { color: var(--ie-muted); font-weight: 400; font-style: normal; }
.ie-field-name em { margin-left: 5px; font-size: 0.8em; letter-spacing: 0.02em; opacity: 0.8; }
.ie-field-help { color: var(--ie-muted); font-weight: 400; font-size: 0.78rem; line-height: 1.4; }
.ie-field-help strong { color: var(--ie-wine); font-weight: 700; }
.ie-field-full { grid-column: 1 / -1; }
.ie-field input,
.ie-field textarea {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    color: var(--ie-ink);
    padding: 11px 13px;
    border: 1px solid var(--ie-line-strong);
    border-radius: 12px;
    background: #fff;
}
.ie-field input:focus,
.ie-field textarea:focus { outline: 2px solid var(--ie-gold); outline-offset: 1px; border-color: var(--ie-wine); }
.ie-field textarea { resize: vertical; }
.ie-uf { text-transform: uppercase; }

/* Seletor de DDI (codigo do pais) fundido ao campo de WhatsApp */
.ie-phone-row { display: flex; gap: 8px; align-items: stretch; }
.ie-phone-row > input { flex: 1 1 auto; min-width: 0; }
.ie-ddi { position: relative; flex: 0 0 auto; display: flex; }
.ie-ddi-select {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ie-ink);
    padding: 11px 28px 11px 12px;
    border: 1px solid var(--ie-line-strong);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    line-height: 1.2;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.ie-ddi-select:focus { outline: 2px solid var(--ie-gold); outline-offset: 1px; border-color: var(--ie-wine); }
.ie-ddi::after {
    content: "";
    position: absolute;
    right: 11px;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -5px;
    pointer-events: none;
    border-right: 2px solid var(--ie-muted);
    border-bottom: 2px solid var(--ie-muted);
    transform: rotate(45deg);
}

/* Validacao inline (sem balao nativo) */
.ie-field.is-invalid input,
.ie-field.is-invalid textarea { border-color: #b3261e; background: rgba(179, 38, 30, 0.04); }
.bk-field-error { color: #b3261e; font-size: 0.78rem; font-weight: 600; line-height: 1.3; }

/* Status do autofill por CEP */
.ie-cep-status {
    grid-column: 1 / -1;
    margin-top: -4px;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ie-muted);
}
.ie-cep-status[data-state="ok"] { color: #1f7a4d; }
.ie-cep-status[data-state="warn"] { color: #9a6a16; }
.ie-cep-status[data-state="loading"] { color: var(--ie-wine); }

.ie-booking-done { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px 0; }
.ie-booking-check {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: linear-gradient(135deg, #748e83, #4f7665);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 18px 42px rgba(73, 109, 91, 0.28);
}
.ie-booking-check svg { width: 32px; height: 32px; }
.ie-booking-done h3 { max-width: 12em; font-size: 1.72rem; line-height: 1.08; }
.ie-booking-done p { color: var(--ie-text); max-width: 45ch; line-height: 1.58; }
.ie-booking-done .ie-btn { margin-top: 10px; }

.ie-booking-error {
    margin-top: 14px;
    padding: 11px 14px;
    border-radius: 12px;
    background: rgba(165, 42, 42, 0.08);
    border: 1px solid rgba(165, 42, 42, 0.25);
    color: #7a2230;
    font-size: 0.9rem;
}
.ie-booking-foot {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--ie-line);
    background: var(--ie-paper);
}
.ie-booking-foot .ie-btn { min-height: 46px; padding: 12px 24px; }
.ie-booking-next,
.ie-booking-submit { margin-left: auto; }
.ie-booking-back { background: none; border: 0; color: var(--ie-wine); font-family: inherit; font-weight: 700; font-size: 0.92rem; cursor: pointer; padding: 8px 4px; }
.ie-booking-next:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.ie-booking-submit.is-loading { opacity: 0.7; pointer-events: none; }

@media (max-width: 760px) {
    .ie-booking { padding: 0; align-items: flex-end; }
    .ie-booking-dialog {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-height: 94vh;
        border-radius: 24px 24px 0 0;
        transform: translateY(100%);
    }
    .ie-booking-aside { flex: 0 0 auto; border-right: 0; border-bottom: 1px solid var(--ie-line); padding: 12px 16px; }
    /* No mobile o cabecalho da consulta vira uma faixa fina: libera espaco para os horarios e os campos. */
    .ie-booking-aside .ie-booking-doc,
    .ie-booking-aside .ie-script,
    .ie-booking-aside h2,
    .ie-booking-reassure { display: none; }
    .ie-booking-meta {
        margin: 0;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px 10px;
        border: 0;
        border-radius: 0;
        overflow: visible;
    }
    .ie-booking-meta li {
        flex: 1 1 100%;
        justify-content: flex-start;
        gap: 8px;
        padding: 7px 12px;
        border: 1px solid var(--ie-line);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.55);
    }
    /* a 1a faixa cede espaco para o botao de fechar (X no topo direito) */
    .ie-booking-meta li:first-child { padding-right: 52px; }
    .ie-booking-meta span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; }
    .ie-booking-meta strong { font-size: 0.86rem; text-align: left; }
    .ie-booking-fields { grid-template-columns: 1fr; }
    .ie-booking-main { flex: 1 1 auto; min-height: 0; padding: 18px; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
    .ie-booking-backdrop,
    .ie-booking-dialog,
    .ie-booking-x { transition: none; }
}

/* =========================================================================
   Agendamento em tela cheia (/marcar_consulta) + ajustes do wizard
   compartilhado (2026-06-30). O wizard .ie-booking-* (modal no perfil)
   e reusado aqui em modo inline (.ie-booking-inline, sem chrome de modal).
   ========================================================================= */

/* WhatsApp FAB sempre acima do modal de agendamento (z-index do modal = 200) */
.ie-wa-fab { z-index: 210; }
/* ...mas some enquanto o modal esta aberto: no mobile o FAB cobria o botao
   "Continuar" no canto inferior, e o wizard ja tem seu proprio link de WhatsApp. */
.ie-booking-lock .ie-wa-fab { opacity: 0; visibility: hidden; pointer-events: none; }
/* Na pagina inteira do formulario (mobile) o FAB verde cobria os cards de
   dias/horarios e os botoes do wizard; o wizard tem link proprio de WhatsApp. */
@media (max-width: 760px) {
    .ie-booking-page .ie-wa-fab { display: none; }
}

/* Nav simplificada das paginas de agendamento/confirmacao/cancelamento.
   O CTA aqui e filho direto do header (fora de .ie-nav-links), entao nao
   herda o padding/radius de ".ie-nav-links a" — sem estas regras o texto
   "Voltar ao perfil" quebrava/cortava no mobile sobre o fundo vinho. */
.ie-nav-simple { gap: 12px; }
.ie-nav-simple .ie-logo { min-width: 0; }
.ie-nav-simple .ie-nav-cta {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}
@media (max-width: 620px) {
    .ie-nav-simple .ie-nav-cta { padding: 9px 14px; font-size: 0.8rem; }
}
@media (max-width: 380px) {
    .ie-nav-simple .ie-logo-type small { display: none; }
}

/* Alerta de erro (fallback sem JS) */
.ie-alert {
    width: var(--ie-shell);
    margin: 0 auto 18px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(165, 42, 42, 0.08);
    border: 1px solid rgba(165, 42, 42, 0.25);
    color: #7a2230;
    font-size: 0.92rem;
}

/* Shell da pagina de agendamento */
.ie-booking-shell {
    width: var(--ie-shell);
    margin: 0 auto;
    padding: clamp(20px, 4vw, 44px) 0 clamp(60px, 8vw, 96px);
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 30px);
}

/* Intro com a foto da doutora (substitui o antigo monograma "DE") */
.ie-booking-intro { max-width: 720px; }
.ie-booking-intro-doc { display: inline-flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.ie-booking-intro-doc img,
.ie-booking-intro-doc > span {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: var(--ie-shadow-soft);
    display: grid;
    place-items: center;
    background: var(--ie-wine);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}
.ie-booking-intro-doc strong { display: block; font-family: "Avie Fraunces", Georgia, serif; font-size: 1.05rem; color: var(--ie-ink); }
.ie-booking-intro-doc small { color: var(--ie-muted); font-size: 0.82rem; }
.ie-booking-intro .ie-script { margin-bottom: 8px; }
.ie-booking-intro h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.08; max-width: 16ch; }
.ie-booking-intro-lead { margin-top: 14px; max-width: 46ch; color: var(--ie-text); font-size: 1.04rem; line-height: 1.6; }

/* Wizard em modo inline (sem position:fixed do modal) */
.ie-booking-inline {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    width: 100%;
    background: var(--ie-paper);
    border: 1px solid var(--ie-line);
    border-radius: 24px;
    box-shadow: var(--ie-shadow);
    overflow: hidden;
}
/* [hidden] precisa vencer o display:inline-flex de .ie-btn (passos/botoes ocultos).
   No modal isso vem de ".ie-booking [hidden]"; o inline usa .ie-booking-inline. */
.ie-booking-inline [hidden] { display: none !important; }
.ie-booking-inline .ie-booking-aside,
.ie-booking-inline .ie-booking-main { overflow: visible; min-height: 0; }
/* Foto/titulo/script do aside duplicam a intro da pagina: ocultos no inline. */
.ie-booking-inline .ie-booking-doc,
.ie-booking-inline .ie-booking-aside > .ie-script,
.ie-booking-inline .ie-booking-aside > h2 { display: none; }
.ie-booking-inline .ie-booking-aside { gap: 8px; }
.ie-booking-inline .ie-booking-meta { margin-top: 0; }
/* Rodape do wizard: estatico no inline (nao gruda na viewport, nao colide com o FAB) */
.ie-booking-inline .ie-booking-foot { position: static; }

/* Preco enxuto: valor a vista + linha pequena do cartao */
.ie-price-meta strong { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.ie-price-meta strong em { font-style: normal; font-weight: 500; font-size: 0.74rem; color: var(--ie-muted); }

/* Disclaimer de WhatsApp abaixo dos horarios */
.ie-booking-wa-note { margin-top: 8px; color: var(--ie-text); font-size: 0.84rem; line-height: 1.5; }
.ie-booking-wa-note a { color: var(--ie-wine); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.ie-booking-empty .ie-btn { margin-top: 14px; }

/* Revela o endereco so depois do CEP (booking_form.js controla a classe) */
.is-cep-hidden { display: none !important; }

@media (max-width: 760px) {
    .ie-booking-inline {
        display: flex;
        flex-direction: column;
        border-radius: 20px;
    }
    .ie-price-meta strong { align-items: flex-start; }
    .ie-booking-intro-doc img,
    .ie-booking-intro-doc > span { width: 52px; height: 52px; }
}

/* Botao secundario (ghost) reutilizavel */
.ie-btn-ghost,
.ie-btn-ghost:visited,
.ie-btn-ghost:hover,
.ie-btn-ghost:focus {
    background: #fff !important;
    background-image: none !important;
    color: var(--ie-wine) !important;
    border: 1px solid var(--ie-line-strong);
    box-shadow: var(--ie-shadow-soft);
    text-shadow: none;
}
.ie-btn-ghost::after { display: none; }
.ie-btn-ghost:hover { background: var(--ie-rose-wash) !important; transform: translateY(-2px); }

/* =========================================================================
   Pagina de confirmacao do agendamento (.ie-confirm-*) — 2026-06-30.
   Sistema .ie-* (antes era .public-* do app.css). Sem o bloco de URL/token.
   ========================================================================= */
.ie-confirm-shell {
    width: min(720px, calc(100vw - 40px));
    margin: 0 auto;
    padding: clamp(24px, 5vw, 56px) 0 clamp(60px, 8vw, 96px);
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 3vw, 26px);
}
.ie-confirm-hero { text-align: center; }
.ie-confirm-hero .ie-eyebrow { justify-content: center; }
.ie-confirm-check {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #748e83, #4f7665);
    color: #fff;
    box-shadow: 0 18px 42px rgba(73, 109, 91, 0.30);
}
.ie-confirm-hero.is-cancelled .ie-confirm-check {
    background: linear-gradient(135deg, #c39, #8a4b58);
    box-shadow: 0 18px 42px rgba(138, 75, 88, 0.28);
}
.ie-confirm-check svg { width: 36px; height: 36px; }
.ie-confirm-hero h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.08; }
.ie-confirm-lead { margin: 14px auto 0; max-width: 46ch; color: var(--ie-text); font-size: 1.04rem; line-height: 1.6; }

.ie-confirm-pass {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(16px, 3vw, 26px);
    padding: clamp(18px, 3vw, 26px);
    background: var(--ie-paper);
    border: 1px solid var(--ie-line);
    border-radius: 22px;
    box-shadow: var(--ie-shadow-soft);
}
.ie-pass-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 14px 16px;
    border-radius: 16px;
    background:
        radial-gradient(120% 90% at 0% 0%, var(--ie-rose-wash), transparent 60%),
        linear-gradient(165deg, var(--ie-cream), var(--ie-nude));
    border: 1px solid var(--ie-line);
}
.ie-pass-date span { color: var(--ie-wine); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.ie-pass-date strong { font-family: "Avie Fraunces", Georgia, serif; font-size: 2.4rem; line-height: 1; color: var(--ie-ink); }
.ie-pass-date em { font-style: normal; color: var(--ie-muted); font-size: 0.84rem; }
.ie-pass-eyebrow { color: var(--ie-muted); font-size: 0.8rem; }
.ie-pass-main h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 2px 0 12px; }
.ie-pass-details { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 14px; padding: 0; }
.ie-pass-details div { display: flex; flex-direction: column; }
.ie-pass-details dt { color: var(--ie-muted); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; }
.ie-pass-details dd { margin: 0; color: var(--ie-ink); font-weight: 700; }
.ie-pass-place { padding-top: 12px; border-top: 1px solid var(--ie-line); display: flex; flex-direction: column; gap: 2px; }
.ie-pass-place span { color: var(--ie-muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.ie-pass-place strong { color: var(--ie-ink); }
.ie-pass-place small { color: var(--ie-muted); font-size: 0.84rem; }
.ie-pass-map {
    margin-top: 6px;
    align-self: flex-start;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--ie-wine);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ie-pass-map:hover { color: var(--ie-ink); }

.ie-confirm-calendar {
    padding: clamp(18px, 3vw, 26px);
    background: var(--ie-paper);
    border: 1px solid var(--ie-line);
    border-radius: 22px;
    box-shadow: var(--ie-shadow-soft);
}
.ie-confirm-calendar-copy h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-top: 2px; }
.ie-confirm-calendar-copy p { color: var(--ie-text); margin-top: 6px; }
.ie-confirm-calendar-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 12px; }
.ie-confirm-calendar-actions .ie-btn {
    flex: 0 1 auto;
    width: auto;
    min-height: 44px;
    padding: 10px 20px;
    font-size: 0.9rem;
}
.ie-confirm-calendar-actions .ie-btn svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}
.ie-confirm-calendar-actions .ie-btn span { white-space: nowrap; }
.ie-confirm-calendar-note { color: var(--ie-muted); font-size: 0.84rem; line-height: 1.5; }

.ie-confirm-next { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ie-confirm-next li {
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    gap: 2px 12px;
    padding: 12px 16px;
    background: var(--ie-paper);
    border: 1px solid var(--ie-line);
    border-radius: 14px;
}
.ie-confirm-next li span { grid-row: span 2; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 999px; background: var(--ie-wine); color: #fff; font-weight: 700; }
.ie-confirm-next li strong { color: var(--ie-ink); }
.ie-confirm-next li small { color: var(--ie-muted); }

.ie-confirm-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 6px; }
.ie-confirm-back {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px;
    color: var(--ie-wine);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ie-confirm-back:hover { color: var(--ie-ink); }
.ie-confirm-cancel { color: var(--ie-muted); font-size: 0.88rem; text-decoration: underline; text-underline-offset: 2px; }
.ie-confirm-cancel:hover { color: var(--ie-wine); }

/* A regra mobile global ".ie-btn { width: 100% }" (620px) e pensada para o
   perfil; na confirmacao ela empilhava pilulas gigantes. Escopo so desta
   pagina (body.ie-confirm-page) — tap target segue >= 44px via min-height. */
@media (max-width: 620px) {
    body.ie-confirm-page .ie-btn { width: auto; }
    body.ie-confirm-page .ie-confirm-calendar-actions .ie-btn { flex: 1 1 auto; }
}

@media (max-width: 600px) {
    .ie-confirm-pass { grid-template-columns: 1fr; }
    .ie-pass-date { flex-direction: row; gap: 10px; min-width: 0; align-items: baseline; justify-content: flex-start; }
    .ie-pass-date strong { font-size: 1.8rem; }
    .ie-confirm-calendar-actions .ie-btn { flex: 1 1 auto; }
}

/* =====================================================================
   Cancelamento (/cancelar/{token}) — mesma familia visual da confirmacao
   ===================================================================== */
.ie-cancel-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: clamp(18px, 3vw, 26px);
    background: var(--ie-paper);
    border: 1px solid var(--ie-line);
    border-radius: 22px;
    box-shadow: var(--ie-shadow-soft);
}
.ie-cancel-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--ie-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.ie-cancel-form select {
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--ie-line);
    border-radius: 12px;
    background: #fff;
    color: var(--ie-ink);
    font: inherit;
    font-size: 0.95rem;
}
.ie-cancel-note { margin: -4px 0 0; color: var(--ie-muted); font-size: 0.84rem; line-height: 1.5; }
.ie-cancel-form .ie-btn { align-self: flex-start; }
/* Acao destrutiva: solida escura (paleta de erro ja usada no .ie-alert),
   sem o gradiente festivo do .ie-btn padrao. */
.ie-btn-danger {
    background: #7a2230;
    background-color: #7a2230;
    border-color: rgba(165, 42, 42, 0.4);
    box-shadow: 0 8px 20px rgba(122, 34, 48, 0.22);
}
.ie-btn-danger:hover {
    box-shadow: 0 12px 26px rgba(122, 34, 48, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
@media (max-width: 620px) {
    .ie-cancel-form .ie-btn { align-self: stretch; }
}

/* =====================================================================
   Banner de cookies (partial analytics.html) — sem estas regras o banner
   renderiza cru nas paginas publicas (o estilo dele so existia em
   landing.css, que estas paginas nao carregam).
   ===================================================================== */
.consent-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 230; /* acima do WA FAB (210) e do modal de agendamento (200) */
    width: min(420px, calc(100vw - 36px));
    padding: 16px 18px;
    background: var(--ie-paper);
    border: 1px solid var(--ie-line);
    border-radius: 16px;
    box-shadow: var(--ie-shadow);
}
.consent-banner[hidden] { display: none; }
.consent-banner p {
    margin: 0 0 12px;
    color: var(--ie-text);
    font-size: 0.9rem;
    line-height: 1.5;
}
.consent-actions { display: flex; gap: 10px; }
.consent-actions button {
    flex: 1 1 auto;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.consent-actions button[data-consent="accept"] {
    border: 1px solid var(--ie-wine);
    background: linear-gradient(135deg, var(--ie-wine), var(--ie-bordo));
    color: #fff;
    box-shadow: 0 12px 26px rgba(59, 33, 50, 0.2);
}
.consent-actions button[data-consent="accept"]:hover { transform: translateY(-1px); }
.consent-actions button[data-consent="reject"] {
    border: 1px solid var(--ie-line);
    background: transparent;
    color: var(--ie-wine);
}
.consent-actions button[data-consent="reject"]:hover { background: var(--ie-rose-wash); }
/* Enquanto o modal de agendamento esta aberto, o banner nao cobre o rodape */
.ie-booking-lock .consent-banner { visibility: hidden; }
@media (max-width: 620px) {
    .consent-banner {
        left: 12px;
        right: 12px;
        width: auto;
        bottom: calc(max(12px, env(safe-area-inset-bottom)) + 12px);
    }
}
