/* =========================================================
   Cabinet Infirmiers Grenier Saint Lazare — Feuille de style
   Palette : vert sauge, crème, terre cuite douce
   Polices : Fraunces (titres) + Manrope (corps)
   ========================================================= */

:root {
    --sage-50:  #f4f7f1;
    --sage-100: #e7eedf;
    --sage-200: #cfdcc2;
    --sage-300: #b1c69e;
    --sage-400: #94b07d;
    --sage-500: #7a9966;
    --sage-600: #607c52;
    --sage-700: #4d6443;
    --sage-800: #3d4f37;
    --sage-900: #2d3a2a;

    --cream-50:  #fbf9f4;
    --cream-100: #f6f2e8;
    --cream-200: #ede5d1;

    --warm-100: #f5ebe0;
    --warm-300: #d4a574;

    --ink:        #2d3a2a;
    --ink-soft:   #4d5a4a;
    --ink-muted:  #6e7a6a;
    --line:       #d8dfd0;

    --font-display: 'Fraunces', 'Iowan Old Style', 'Apple Garamond', Georgia, serif;
    --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --container: 1200px;
    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 24px;

    --shadow-sm: 0 1px 2px rgba(45, 58, 42, 0.06);
    --shadow:    0 8px 24px rgba(45, 58, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(45, 58, 42, 0.12);

    --t-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --t:      0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--sage-600); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--sage-900);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 400; }
h3 { font-size: 1.35rem; font-weight: 500; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

h1 em, h2 em {
    font-style: italic;
    font-weight: 400;
    color: var(--sage-600);
}

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

sup { font-size: 0.65em; vertical-align: super; }

.eyebrow,
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sage-600);
    margin-bottom: 1rem;
}

/* ====================== BOUTONS ====================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.8rem;
    font-family: var(--font-body);
    font-size: 0.97rem;
    font-weight: 600;
    border-radius: 999px;
    transition: all var(--t);
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--sage-500);
    color: white;
    box-shadow: 0 4px 12px rgba(122, 153, 102, 0.3);
}
.btn-primary:hover {
    background: var(--sage-600);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(122, 153, 102, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--sage-700);
    border: 1px solid var(--sage-200);
}
.btn-secondary:hover {
    border-color: var(--sage-400);
    background: var(--sage-50);
    color: var(--sage-700);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.link-inline {
    color: var(--sage-600);
    font-weight: 500;
    border-bottom: 1px solid var(--sage-200);
    padding-bottom: 1px;
    display: inline-block;
}
.link-inline:hover {
    color: var(--sage-700);
    border-color: var(--sage-500);
}

/* ====================== HEADER ====================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(251, 249, 244, 0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t), box-shadow var(--t);
}
.site-header.scrolled {
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 24px;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--sage-700);
}
.logo-mark {
    color: var(--sage-500);
    flex-shrink: 0;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-line-1 {
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 500;
    color: var(--sage-900);
    letter-spacing: -0.01em;
}
.logo-line-2 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--sage-600);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.main-nav ul {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}
.main-nav a {
    display: inline-block;
    padding: 0.6rem 0.95rem;
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--ink-soft);
    border-radius: 999px;
    transition: all var(--t-fast);
}
.main-nav a:hover {
    color: var(--sage-700);
    background: var(--sage-100);
}
.main-nav a.active {
    color: var(--sage-700);
}
.main-nav a.nav-cta {
    background: var(--sage-700);
    color: white;
    margin-left: 0.5rem;
}
.main-nav a.nav-cta:hover {
    background: var(--sage-800);
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--sage-800);
    border-radius: 2px;
    transition: all var(--t);
}
.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ====================== HERO ====================== */
.hero {
    position: relative;
    padding-top: 120px;
    padding-bottom: 100px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--cream-50) 0%, var(--sage-50) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(ellipse 600px 400px at 80% 20%, rgba(148, 176, 125, 0.18), transparent 60%),
        radial-gradient(ellipse 500px 300px at 10% 80%, rgba(212, 165, 116, 0.1), transparent 60%);
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    color: var(--sage-900);
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--ink-soft);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--ink-muted);
}
.hero-meta li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.dot {
    width: 6px;
    height: 6px;
    background: var(--sage-500);
    border-radius: 50%;
    display: inline-block;
}

.hero-image {
    position: relative;
}
.hero-image img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.hero-image::before {
    content: '';
    position: absolute;
    inset: -20px -20px 20px 20px;
    border: 1px solid var(--sage-300);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.hero-image-tag {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: white;
    padding: 1rem 1.4rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.hero-image-tag strong {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--sage-800);
}
.hero-image-tag span {
    font-size: 0.82rem;
    color: var(--ink-muted);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    color: var(--cream-50);
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 100%; }

/* ====================== SECTIONS ====================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    max-width: 780px;
    margin-bottom: 4rem;
}
.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.section-lead {
    font-size: 1.08rem;
    color: var(--ink-soft);
    margin-top: 1rem;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.two-col.reverse .col-image { order: -1; }

/* ====================== CABINET ====================== */
.section-cabinet {
    background: white;
}

.feature-list {
    margin-top: 2rem;
    display: grid;
    gap: 0.85rem;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--ink-soft);
}
.feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--sage-100);
    color: var(--sage-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.image-stack {
    position: relative;
    aspect-ratio: 4 / 5;
}
.image-stack img {
    position: absolute;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.image-back {
    width: 65%;
    height: 65%;
    top: 0;
    right: 0;
    object-fit: cover;
}
.image-front {
    width: 75%;
    height: 75%;
    bottom: 0;
    left: 0;
    object-fit: cover;
    border: 8px solid var(--cream-50);
}

/* ====================== ÉQUIPE ====================== */
.section-team {
    background: var(--sage-50);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.team-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t), box-shadow var(--t);
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.team-photo {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--sage-100);
}
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.team-card:hover .team-photo img {
    transform: scale(1.04);
}
.team-body {
    padding: 1.8rem;
}
.team-body h3 {
    margin-bottom: 0.3rem;
}
.team-role {
    font-size: 0.88rem;
    color: var(--sage-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.team-bio {
    color: var(--ink-soft);
    font-size: 0.96rem;
    margin-bottom: 1rem;
}
.team-meta {
    font-size: 0.82rem;
    color: var(--ink-muted);
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}

/* ====================== SOINS ====================== */
.section-care {
    background: white;
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.care-card {
    background: var(--cream-50);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.8rem;
    transition: all var(--t);
}
.care-card:hover {
    background: white;
    border-color: var(--sage-300);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.care-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--sage-100);
    color: var(--sage-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: all var(--t);
}
.care-card:hover .care-icon {
    background: var(--sage-500);
    color: white;
}
.care-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.care-card p {
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.55;
}

.care-note {
    text-align: center;
    margin-top: 3rem;
    color: var(--ink-muted);
    font-style: italic;
}
.care-note a {
    color: var(--sage-700);
    font-weight: 600;
    border-bottom: 1px solid var(--sage-300);
}

/* ====================== PRISE EN CHARGE ====================== */
.section-coverage {
    background: white;
    position: relative;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.coverage-step {
    position: relative;
    background: var(--cream-50);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.2rem 2rem 1.8rem;
    transition: all var(--t);
}
.coverage-step:hover {
    border-color: var(--sage-300);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.coverage-step-number {
    position: absolute;
    top: 1.4rem;
    right: 1.6rem;
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 400;
    font-style: italic;
    color: var(--sage-200);
    line-height: 1;
    letter-spacing: -0.02em;
}

.coverage-step h3 {
    margin-bottom: 0.8rem;
    padding-right: 3rem;
    color: var(--sage-800);
}

.coverage-step p {
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.6;
}
.coverage-step strong {
    color: var(--sage-800);
    font-weight: 600;
}
.coverage-step a {
    color: var(--sage-700);
    border-bottom: 1px solid var(--sage-300);
    font-weight: 500;
}
.coverage-step a:hover {
    color: var(--sage-800);
    border-color: var(--sage-500);
}

.coverage-banner {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: linear-gradient(135deg, var(--sage-700) 0%, var(--sage-600) 100%);
    color: white;
    padding: 2rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.coverage-banner-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}
.coverage-banner h3 {
    color: white;
    margin-bottom: 0.3rem;
    font-size: 1.3rem;
}
.coverage-banner p {
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.55;
}

/* ====================== ZONE ====================== */
.section-zone {
    background: var(--cream-100);
}

.zone-list {
    margin: 2rem 0;
    display: grid;
    gap: 0.7rem;
}
.zone-list li {
    padding: 1rem 1.2rem;
    background: white;
    border-radius: var(--radius-sm);
    color: var(--ink-soft);
    border-left: 3px solid var(--sage-400);
    transition: all var(--t-fast);
}
.zone-list li:hover {
    border-left-color: var(--sage-600);
    transform: translateX(4px);
}
.zone-list strong {
    color: var(--sage-800);
    margin-right: 0.7rem;
    font-weight: 600;
}

.zone-note {
    color: var(--ink-muted);
    font-size: 0.95rem;
    font-style: italic;
}
.zone-note a {
    color: var(--sage-700);
    font-weight: 600;
    border-bottom: 1px solid var(--sage-300);
}

.map-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 8px solid white;
    background: var(--sage-100);
}
.map-card iframe {
    display: block;
}

/* ====================== AVIS GOOGLE ====================== */
.reviews-block {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid var(--line);
}

.reviews-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}
.reviews-google-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: white;
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}
.reviews-header h2 {
    font-size: 1.7rem;
    margin-bottom: 0.2rem;
}
.reviews-header p {
    color: var(--ink-muted);
    margin: 0;
    font-size: 0.96rem;
}

.reviews-empty {
    background: white;
    border: 1px dashed var(--sage-300);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.reviews-empty-stars {
    display: inline-flex;
    gap: 0.3rem;
    margin-bottom: 1.2rem;
}
.reviews-empty h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--sage-800);
}
.reviews-empty p {
    color: var(--ink-soft);
    max-width: 540px;
    margin: 0 auto 1.8rem;
}

/* ====================== HORAIRES ====================== */
.section-hours {
    background: white;
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
.hours-card {
    background: linear-gradient(135deg, var(--sage-50) 0%, var(--cream-50) 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--sage-100);
}
.hours-card h3 {
    margin-bottom: 1.5rem;
    color: var(--sage-800);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--sage-200);
}
.hours-list {
    display: grid;
    gap: 1rem;
}
.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--ink-soft);
    font-size: 0.98rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.hours-list li span { color: var(--ink-muted); }
.hours-list li strong {
    font-family: var(--font-display);
    color: var(--sage-800);
    font-weight: 500;
    font-size: 1.05rem;
}

.hours-cta {
    text-align: center;
    padding: 2.5rem;
    background: var(--sage-50);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}
.hours-cta p {
    font-size: 1.05rem;
    color: var(--ink-soft);
    max-width: 540px;
}

/* ====================== CONTACT ====================== */
.section-contact {
    background: var(--sage-50);
    position: relative;
}

.contact-info {
    margin-top: 2.5rem;
    display: grid;
    gap: 1.5rem;
}
.contact-block {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}
.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: white;
    color: var(--sage-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}
.contact-block h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--sage-800);
}
.contact-block p {
    color: var(--ink-soft);
    margin-bottom: 0.3rem;
}
.contact-block a:not(.link-inline) {
    color: var(--sage-700);
    font-weight: 500;
}
.contact-block a:not(.link-inline):hover {
    color: var(--sage-800);
    text-decoration: underline;
}
.contact-note {
    display: block;
    font-size: 0.83rem;
    color: var(--ink-muted);
    margin-top: 0.2rem;
    font-style: italic;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.contact-form h3 {
    margin-bottom: 1.8rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

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

.form-row label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--sage-800);
    margin-bottom: 0.4rem;
}
.form-row label span[aria-hidden] {
    color: var(--warm-300);
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: inherit;
    font-size: 0.97rem;
    color: var(--ink);
    background: var(--cream-50);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: all var(--t-fast);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--sage-500);
    background: white;
    box-shadow: 0 0 0 3px rgba(122, 153, 102, 0.15);
}

.form-row textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-row.checkbox {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}
.form-row.checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--sage-500);
}
.form-row.checkbox label {
    font-size: 0.86rem;
    font-weight: 400;
    color: var(--ink-soft);
    line-height: 1.5;
    margin-bottom: 0;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.83rem;
    color: var(--ink-muted);
    text-align: center;
}

.form-success {
    margin-top: 1.5rem;
    padding: 1rem 1.2rem;
    background: var(--sage-100);
    color: var(--sage-800);
    border-radius: var(--radius-sm);
    font-weight: 500;
    border: 1px solid var(--sage-300);
}

/* ====================== MENTION DÉONTOLOGIQUE ====================== */
.ethics-notice {
    background: var(--cream-100);
    border-top: 1px solid var(--line);
    padding: 2.5rem 0;
}

.ethics-content {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    max-width: 920px;
    margin: 0 auto;
}

.ethics-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--sage-100);
    color: var(--sage-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ethics-text p {
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 0.7rem;
}
.ethics-text p:last-child {
    margin-bottom: 0;
}
.ethics-text strong {
    color: var(--sage-800);
}

.ethics-quote {
    font-style: italic;
    color: var(--ink-muted) !important;
    font-size: 0.86rem !important;
    padding-left: 1rem;
    border-left: 2px solid var(--sage-300);
}

/* ====================== PAGES LÉGALES ====================== */
.legal-page {
    padding-top: 130px;
    padding-bottom: 80px;
    background: var(--cream-50);
    min-height: 80vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--sage-700);
    font-weight: 500;
    margin-bottom: 2rem;
    font-size: 0.93rem;
}
.legal-back:hover {
    color: var(--sage-800);
}

.legal-page h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--sage-900);
    margin-bottom: 1rem;
}

.legal-page h2 {
    font-size: 1.4rem;
    color: var(--sage-800);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--line);
}

.legal-page h3 {
    font-size: 1.05rem;
    color: var(--sage-800);
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.legal-page p,
.legal-page li {
    color: var(--ink-soft);
    line-height: 1.7;
    font-size: 0.97rem;
}

.legal-page p {
    margin-bottom: 1rem;
}

.legal-page ul {
    margin: 1rem 0 1rem 1rem;
    padding-left: 1rem;
}

.legal-page ul li {
    list-style: disc;
    margin-bottom: 0.5rem;
}

.legal-page strong {
    color: var(--sage-800);
}

.legal-page a {
    color: var(--sage-700);
    border-bottom: 1px solid var(--sage-300);
}
.legal-page a:hover {
    color: var(--sage-800);
}

.legal-update {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--ink-muted);
    font-style: italic;
}

.legal-placeholder {
    display: inline-block;
    background: #fff4d8;
    color: #92670a;
    padding: 0.05rem 0.4rem;
    border-radius: 4px;
    font-size: 0.92em;
    font-family: monospace;
    border: 1px dashed #d4a574;
}

/* ====================== FOOTER ====================== */
.site-footer {
    background: var(--sage-900);
    color: var(--sage-100);
    padding-top: 4rem;
}

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

.footer-col h4 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
}
.footer-col p {
    color: var(--sage-200);
    font-size: 0.95rem;
    margin-top: 1rem;
}
.footer-col ul {
    display: grid;
    gap: 0.6rem;
}
.footer-col ul li {
    color: var(--sage-200);
    font-size: 0.93rem;
}
.footer-col a {
    color: var(--sage-200);
}
.footer-col a:hover {
    color: white;
}

.logo-footer .logo-line-1 { color: white; }
.logo-footer .logo-line-2 { color: var(--sage-300); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}
.footer-bottom p {
    text-align: center;
    color: var(--sage-300);
    font-size: 0.85rem;
}

/* ====================== ANIMATIONS ====================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content > * { animation: fadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) both; }
.hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-content > *:nth-child(2) { animation-delay: 0.15s; }
.hero-content > *:nth-child(3) { animation-delay: 0.25s; }
.hero-content > *:nth-child(4) { animation-delay: 0.35s; }
.hero-content > *:nth-child(5) { animation-delay: 0.45s; }

.hero-image { animation: fadeUp 0.9s 0.3s cubic-bezier(0.4, 0, 0.2, 1) both; }

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s, transform 0.7s;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* ====================== RESPONSIVE ====================== */

@media (max-width: 1024px) {
    .care-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
    .coverage-grid {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .two-col, .hero-inner {
        gap: 3rem;
    }
}

@media (max-width: 880px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream-50);
        border-top: 1px solid var(--line);
        padding: 1.2rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow);
    }
    .main-nav.is-open {
        max-height: 80vh;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
    }
    .main-nav a {
        display: block;
        padding: 0.85rem 1rem;
        font-size: 1rem;
    }
    .main-nav a.nav-cta {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
    }

    .hero-inner,
    .two-col {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .two-col.reverse .col-image { order: 0; }

    .hero {
        padding-top: 100px;
        padding-bottom: 70px;
    }
    .hero-image img {
        height: 380px;
    }

    .section {
        padding: 70px 0;
    }
    .section-header {
        margin-bottom: 2.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-card:nth-child(3) {
        max-width: 100%;
    }
    .care-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hours-grid {
        grid-template-columns: 1fr;
    }

    .coverage-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.8rem;
    }
    .coverage-step {
        padding: 1.8rem 1.6rem 1.5rem;
    }
    .coverage-step-number {
        font-size: 2.2rem;
        top: 1.2rem;
        right: 1.2rem;
    }
    .reviews-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .reviews-block {
        margin-top: 3rem;
        padding-top: 2.5rem;
    }
    .reviews-empty {
        padding: 2rem 1.4rem;
    }

    .ethics-content {
        flex-direction: column;
        gap: 1rem;
    }

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

    .logo-line-1 {
        font-size: 1.1rem;
    }
    .logo-line-2 {
        font-size: 0.72rem;
    }
}

@media (max-width: 480px) {
    body { font-size: 16px; }
    .container { padding: 0 18px; }

    .hero {
        padding-top: 90px;
        padding-bottom: 50px;
    }
    .hero-image img { height: 320px; }
    .hero-image-tag {
        bottom: 16px;
        left: 16px;
        padding: 0.7rem 1rem;
    }
    .hero-image-tag strong { font-size: 0.95rem; }
    .hero-image-tag span { font-size: 0.75rem; }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn { justify-content: center; }

    .section { padding: 55px 0; }

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

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

    .contact-form {
        padding: 1.6rem;
    }

    .hours-card {
        padding: 1.6rem;
    }

    .image-stack {
        aspect-ratio: 1;
    }

    .header-inner {
        padding: 0.85rem 18px;
    }
    .logo-mark svg {
        width: 30px;
        height: 30px;
    }
    .logo-line-1 {
        font-size: 1rem;
    }
    .logo-line-2 {
        font-size: 0.68rem;
    }
}