/* Accueil — spécifique à la page (maquette accueil.dc.html). Le socle est dans cd.css. */

/* ─── Hero plein écran ─────────────────────────────────────────────────── */
.cd-hero { position: relative; overflow: hidden; min-height: clamp(460px, 72vh, 660px); display: flex; align-items: center; padding: clamp(56px, 9vw, 104px) 0; }
.cd-hero__pic { display: contents; }
.cd-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--cd-hero-pos, 60% 28%); display: block; } /* --cd-hero-pos : cadrage propre au site (profil, hero_position) */ /* visages à droite du texte, cadrés sur le haut */
/* Mobile : visages en haut, texte en bas sur un dégradé montant ; sur-titre et chapô resserrés. */
@media (max-width: 719.98px) {
	.cd-hero { min-height: 600px; align-items: flex-end; padding: 48px 0 28px; }
	.cd-hero__img { object-position: 50% 20%; } /* recadrage mobile dédié : visages dans le tiers supérieur */
	.cd-hero__overlay { background: linear-gradient(180deg, rgba(16, 36, 22, .08) 0%, rgba(16, 36, 22, .35) 38%, rgba(16, 36, 22, .82) 62%, rgba(16, 36, 22, .92) 100%); }
	.cd-hero__in { gap: 14px; }
	.cd-hero .cd-eyebrow { font-size: 12px; letter-spacing: 0.12em; max-width: 30ch; line-height: 1.5; }
	.cd-hero__title { font-size: clamp(34px, 9.5vw, 40px); line-height: 1.08; }
	.cd-hero__lead { font-size: 18px; line-height: 1.5; max-width: 34ch; }
	.cd-hero__actions { margin-top: 10px; gap: 12px 20px; }
	.cd-hero__actions .cd-btn { min-height: 50px; padding: 0 24px; }
}
.cd-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 36, 22, .78) 0%, rgba(16, 36, 22, .5) 55%, rgba(60, 44, 20, .3) 100%); }
.cd-hero__in { position: relative; width: 100%; display: flex; flex-direction: column; gap: 28px; color: #fff; }
.cd-hero__title { font-size: clamp(38px, 5.6vw, 68px); line-height: 1.1; color: #fff; max-width: 16ch; text-wrap: balance; }
.cd-hero__lead { font-size: 22px; color: #fff; max-width: 36ch; }
.cd-hero__actions { margin-top: 4px; }
.cd-hero .cd-link--light { color: #fff; }
.cd-hero .cd-link--light:hover { color: var(--cd-pale); }

/* ─── Bandeau horaires ─────────────────────────────────────────────────── */
.cd-hours { padding: 28px 0; }
.cd-hours__in { display: flex; flex-wrap: wrap; gap: 6px 64px; justify-content: space-between; align-items: baseline; }
.cd-hours__title { font-size: 26px; color: #fff; }
.cd-hours__dot { color: #d9e6cf; }
.cd-hours__closed { color: var(--cd-footer-text); }

/* ─── Le mot de l'équipe ───────────────────────────────────────────────── */
.cd-home-quote { --min: 300px; }
.cd-home-quote .cd-eyebrow { font-weight: 500; }
.cd-home-quote__fig { margin: 0; display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 720px) { .cd-home-quote__fig { grid-column: span 2; } }
.cd-home-quote__text { margin: 0; font-family: var(--cd-heading); font-weight: 300; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.3; color: var(--cd-dark); text-wrap: pretty; }
.cd-home-quote__cap { display: flex; flex-direction: column; gap: 2px; }
.cd-home-quote__name { font-family: var(--cd-heading); font-size: 22px; color: var(--cd-dark); }
.cd-home-quote__role { color: var(--cd-eyebrow-2); font-size: 17px; }

/* ─── Notre approche ───────────────────────────────────────────────────── */
.cd-home-approach__text { align-self: end; }
.cd-home-approach__grid { --min: 280px; --align: stretch; } /* les trois blocs ont la même hauteur, quel que soit le texte */

/* ─── Nos prestations ──────────────────────────────────────────────────── */
.cd-home-presta { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 40px); }
.cd-home-presta__head { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: flex-end; }
/* Section « Nos prestations » (handoff du 23.11.2026). Elle introduit volontairement bordures fines et coins arrondis.
   Retour au flat strict du reste du site : --svc-border: transparent ; --svc-radius-card / -tile: 0 ; --svc-radius-btn: 4px. */
.cd-services { --svc-border: #e6e1d3; --svc-divider: #eeeae0; --svc-tint: #eef3e8; --svc-tint-hover: #f7faf4; --svc-radius-card: 12px; --svc-radius-tile: 10px; --svc-radius-btn: 6px; }

/* Deux cartes mises en avant : même hauteur, boutons alignés (actions poussées en bas). */
.cd-svc-featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 24px; }
.cd-svc-card { display: flex; flex-direction: column; gap: 18px; background: var(--cd-white); border: 1px solid var(--svc-border); border-radius: var(--svc-radius-card); padding: clamp(24px, 5vw, 40px); }
.cd-svc-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 16px; } /* icône à gauche, badge à droite : jamais de chevauchement */
.cd-svc-card__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--svc-tint); display: grid; place-items: center; flex: none; }
.cd-svc-card__icon img { width: 48px; height: 48px; object-fit: contain; display: block; }
.cd-svc-card__icon svg, .cd-svc-tile__icon svg { fill: none; stroke: var(--cd-green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cd-svc-card__icon svg { width: 36px; height: 36px; }
.cd-svc-card__badge { min-width: 0; padding-top: 4px; font-size: 13px; line-height: 1.5; letter-spacing: 0.12em; text-transform: uppercase; text-align: right; color: var(--cd-eyebrow); font-weight: 500; }
.cd-svc-card__title { margin: 0; font-family: var(--cd-heading); font-weight: 400; font-size: clamp(26px, 2.6vw, 30px); line-height: 1.2; color: var(--cd-dark); }
.cd-svc-card__desc { margin: 0; color: var(--cd-text-2); text-wrap: pretty; }
.cd-svc-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cd-svc-chips li { margin: 0; padding: 4px 14px; border-radius: 999px; background: var(--svc-tint); color: var(--cd-green-hover); font-size: 16px; }
.cd-svc-chips li.is-strong { font-weight: 500; }
.cd-svc-card__actions { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--svc-divider); display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.cd-services .cd-btn { min-height: 52px; padding: 0 28px; border-radius: var(--svc-radius-btn); }

/* Six tuiles secondaires : 3 × 2 à 1120 px, une colonne sur mobile. */
.cd-svc-more { display: flex; flex-direction: column; gap: 16px; }
.cd-svc-more__title { margin: 0; font-family: var(--cd-heading); font-size: 22px; font-weight: 500; line-height: 1.3; color: var(--cd-dark); }
.cd-svc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.cd-svc-tile { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 22px; background: var(--cd-white); border: 1px solid var(--svc-border); border-radius: var(--svc-radius-tile); color: var(--cd-dark); text-decoration: none; transition: border-color .2s, background-color .2s; }
.cd-svc-tile.cd-reveal { transition: opacity .55s ease-out var(--cd-d, 0ms), transform .55s ease-out var(--cd-d, 0ms), border-color .2s, background-color .2s; }
.cd-svc-tile:hover { border-color: var(--cd-green); background: var(--svc-tint-hover); color: var(--cd-dark); }
.cd-svc-tile__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--svc-tint); display: grid; place-items: center; }
.cd-svc-tile__icon svg { width: 24px; height: 24px; }
.cd-svc-tile__text { display: flex; flex-direction: column; gap: 2px; }
.cd-svc-tile__name { font-weight: 500; font-size: 19px; line-height: 1.35; }
.cd-svc-tile__desc { font-size: 16px; line-height: 1.45; color: var(--cd-text-3); }
.cd-svc-tile__arrow { color: var(--cd-green); font-size: 20px; transition: transform .2s; }
.cd-svc-tile:hover .cd-svc-tile__arrow { transform: translateX(4px); }
.cd-services .cd-btn:focus-visible, .cd-svc-tile:focus-visible, .cd-services .cd-link:focus-visible { outline: 3px solid var(--cd-green); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .cd-svc-tile, .cd-svc-tile.cd-reveal, .cd-svc-tile__arrow { transition: none; } }

/* ─── Proximité & qualité ──────────────────────────────────────────────── */
.cd-home-proximity { gap: 24px; }
.cd-home-proximity .cd-h2 { line-height: 1.25; }
.cd-home-proximity__text { font-size: 20px; }

/* ─── Nos pharmacies ───────────────────────────────────────────────────── */
.cd-home-pharmacies { padding: clamp(56px, 10vw, 112px) 0; }
.cd-home-pharmacies__grid { --min: 340px; }
.cd-home-pharmacy { gap: 12px; }
.cd-home-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }

/* ─── L'équipe ─────────────────────────────────────────────────────────── */
.cd-home-team__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(28px, 5vw, 56px); }
.cd-home-team__head .cd-eyebrow { margin-bottom: 4px; }
.cd-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: clamp(20px, 4vw, 40px); }
@media (max-width: 719.98px) { .cd-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; } .cd-team-card { gap: 10px; } .cd-team-card__role { font-size: 15px; } }
.cd-team-card { display: flex; flex-direction: column; gap: 16px; }
.cd-team-card__text { text-align: center; }
.cd-team-grid .cd-team-card__name { font-family: var(--cd-heading); font-size: clamp(18px, 4vw, 22px); color: var(--cd-dark); text-decoration: none; }
.cd-team-grid .cd-team-card__name:hover { color: var(--cd-dark); text-decoration: underline; }
.cd-team-card__role { color: var(--cd-text-3); font-size: 17px; }

/* ─── Contact ──────────────────────────────────────────────────────────── */
.cd-home-contact__text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
/* Mobile : portrait de la citation moins haut. */
@media (max-width: 719.98px) { .cd-home-quote .cd-media--4x5 { max-width: 240px; } .cd-home-quote__text { font-size: 24px; } }
/* Profil sans photo de bannière : fond uni vert foncé. */
.cd-hero--noimg { background: var(--cd-dark); }
.cd-hero--noimg .cd-hero__overlay { background: none; }
