/* =============================================
   LA VIE D'EDGARD — style.css
   Direction : Cocooning chaud, familial, moderne
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Dancing+Script:wght@500;700&family=Jost:wght@300;400;500&display=swap');

:root {
  --brun:         #6A6A6A;
  --brun-moyen:   #5A5A5A;
  --brun-doux:    #888888;
  --terracotta:   #C4785A;
  --peche:        #E8C9B0;
  --abricot:      #F0E4D8;
  --creme:        #F0E4D8;
  --creme-fonce:  #E8D8CC;
  --ivoire:       #F0E4D8;
  --or:           #D4947A;
  --rose-nude:    #D4947A;
  --rose-pale:    #E8D8CC;
  --gris-chaud:   #5A5A5A;
  --gris-section: #6A6A6A;
  --ombre:        rgba(0,0,0,0.08);
  --ombre-forte:  rgba(0,0,0,0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background-color: var(--ivoire);
  color: var(--brun);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
  font-weight: 400;
}

/* ===== TEXTES SPÉCIAUX ===== */
.texte-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--brun-moyen);
  line-height: 1.75;
}
.texte-accroche {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--terracotta);
  line-height: 1.4;
  margin: 1.5rem 0;
}
.titre-section {
  font-size: clamp(2.4rem, 5vw, 3.8rem) !important;
}
.sous-titre {
  font-size: clamp(1.05rem, 2vw, 1.25rem) !important;
}
p {
  font-size: clamp(0.97rem, 1.5vw, 1.08rem);
}

/* override couleur texte global — plus de gris, des tons chauds */
p { color: var(--brun-doux); }
.about-text p { color: var(--brun-moyen); }

.section-parallax p,
.section-parallax .texte-intro { 
  color: rgba(250,240,228,0.95) !important; 
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}
.section-parallax strong { color: var(--peche) !important; }
.section-parallax em { color: var(--abricot) !important; }

.section-brun p { color: rgba(250,240,228,0.85); }
.section-gris-chaud p { color: rgba(240,228,216,0.85); }
.certif-carte-body p { color: var(--brun-doux) !important; }

/* sous-titre plus visible */
.sous-titre {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

/* titre-section un peu plus grand */
.titre-section {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}

strong { color: var(--brun); }
em { color: var(--rose-nude); }

/* ===== CURSEUR — anneau sur desktop, rien sur mobile ===== */
@media (pointer: fine) {
  body { cursor: none; }
  .cursor-dot {
    width: 6px; height: 6px;
    background: #5A5A5A;
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9999;
    opacity: 0.9;
  }
  .cursor-ring {
    width: 32px; height: 32px;
    border: 1.5px solid #5A5A5A;
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9998;
    opacity: 0.5;
  }
  .cursor-ring.hover {
    width: 48px; height: 48px;
    background: rgba(90,90,90,0.15);
    border-color: transparent;
    opacity: 1;
  }
}
@media (pointer: coarse) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ===== TYPO ===== */
h1, h2, h3 {
  font-family: 'Dancing Script', cursive;
  color: var(--brun); line-height: 1.2;
}
h1 { font-size: clamp(2.4rem,5vw,4rem); font-weight: 700; }
h2 { font-size: clamp(2rem,4vw,3.2rem); font-weight: 700; }
h3 { font-size: clamp(1.4rem,2.5vw,2rem); font-weight: 500; }

.titre-section {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(2.2rem,4.5vw,3.4rem);
  font-weight: 700; color: var(--brun);
  text-align: center; margin-bottom: 0.6rem;
}
.sous-titre {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem,1.8vw,1.2rem);
  color: var(--brun-doux); font-style: italic;
  text-align: center; margin-bottom: 3rem; font-weight: 400;
}
p {
  font-family: 'Jost', sans-serif;
  font-size: clamp(0.92rem,1.4vw,1rem);
  color: var(--gris-chaud); line-height: 1.9; font-weight: 400;
}
strong { color: var(--brun-moyen); font-weight: 500; }
em { color: var(--terracotta); font-style: italic; }

/* ===== HEADER ===== */
header {
  background: #7A7A7A;
  padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--or), transparent);
  opacity: 0.6;
}
.logo {
  font-family: 'Dancing Script', cursive;
  font-size: 1.9rem; font-weight: 700;
  color: var(--creme); text-decoration: none;
}
.logo img { height: 52px; width: auto; }

nav ul { list-style: none; display: flex; gap: 36px; align-items: center; }
nav ul li { position: relative; }
nav ul li a {
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(250,248,245,0.85); text-decoration: none;
  transition: color 0.2s; padding: 4px 0; position: relative;
}
nav ul li a::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; width: 0; height: 1.5px;
  background: var(--or); transition: width 0.25s;
}
nav ul li a:hover, nav ul li a.active { color: var(--creme); }
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }

.dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute;
  top: calc(100% + 22px); left: 50%; transform: translateX(-50%);
  background: #7A7A7A; border: 1px solid rgba(212,148,122,0.25);
  border-radius: 6px; min-width: 170px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  overflow: hidden; z-index: 100;
}
.dropdown-menu::before {
  content: ''; position: absolute;
  top: -5px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px; background: #7A7A7A;
  border-left: 1px solid rgba(212,148,122,0.25);
  border-top: 1px solid rgba(212,148,122,0.25);
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block; padding: 13px 22px;
  text-transform: none; font-size: 0.88rem; letter-spacing: 0.04em;
  color: rgba(250,248,245,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover { background: rgba(212,148,122,0.1); color: var(--creme); }
.dropdown-menu li a::after { display: none; }

.btn-contact {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--or) !important; border: 1px solid var(--or);
  padding: 9px 22px; border-radius: 2px;
  text-decoration: none; transition: background 0.2s, color 0.2s;
}
.btn-contact:hover { background: var(--or); color: var(--brun) !important; }
.btn-contact::after { display: none !important; }

.contact-mobile-only { display: none; }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 24px; height: 1.5px; background: var(--creme); transition: all 0.3s; }

/* ===== BOUTONS ===== */
.btn-primary {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: #7A7A7A; color: var(--creme);
  border: none; padding: 15px 36px; border-radius: 2px;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #7A7A7A; transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: transparent; color: var(--brun-moyen);
  border: 1px solid var(--brun-moyen); padding: 14px 34px;
  border-radius: 2px; text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: #7A7A7A; color: var(--creme); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: #8E8E8E;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 9vw 56px;
  box-sizing: border-box;
  overflow: hidden;
}

.hero-top {
  display: flex;
  justify-content: flex-start;
}

.hero-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--or);
}

.hero-center {
  text-align: center;
  padding: 20px 0;
}

.hero-center::before {
  content: '';
  display: block;
  width: 50px; height: 1px;
  background: var(--or);
  opacity: 0.5;
  margin: 0 auto 24px;
}
.hero-center::after {
  content: '';
  display: block;
  width: 50px; height: 1px;
  background: var(--or);
  opacity: 0.5;
  margin: 24px auto 0;
}

.hero-pre {
  font-family: 'Jost', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.3rem);
  font-weight: 400;
  color: rgba(250,248,245,0.5);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin: 0 0 4px 0;
}

.hero-center h1 {
  font-family: 'Dancing Script', cursive !important;
  font-size: clamp(5rem, 13vw, 12rem) !important;
  font-weight: 700 !important;
  color: var(--creme) !important;
  line-height: 0.95 !important;
  margin: 0 !important;
  letter-spacing: -0.02em !important;
  display: block !important;
}

.hero-post {
  font-family: 'Jost', sans-serif;
  font-size: clamp(0.75rem, 1.5vw, 1.1rem);
  font-weight: 400;
  color: rgba(250,248,245,0.5);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin: 6px 0 0 0;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero-left-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-left-info span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(250,248,245,0.45);
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-hero-outline {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: transparent; color: var(--creme);
  border: 1px solid rgba(250,248,245,0.4);
  padding: 14px 34px; border-radius: 2px;
  text-decoration: none; transition: background 0.2s;
}
.btn-hero-outline:hover { background: rgba(250,240,228,0.08); }

.hero-right-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}
.hero-right-info span {
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(212,148,122,0.5);
  text-transform: uppercase;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero {
    padding: 40px 6vw 48px;
    min-height: 100svh;
    justify-content: space-between;
  }
  .hero-center h1 {
    font-size: clamp(4.5rem, 22vw, 7rem) !important;
  }
  .hero-pre { font-size: 0.75rem; letter-spacing: 0.2em; }
  .hero-post { font-size: 0.65rem; letter-spacing: 0.2em; }
  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .hero-right-info {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* ===== SECTIONS ===== */
.section { padding: 100px 9vw; }
.section-creme   { background: #EDD9C8; }
.section-ivoire  { background: #FAF6F0; }
.section-abricot { background: #DEC9B5; }
.section-rose    { background: var(--rose-pale); }

.section-brun { background: #8E8E8E; }
.section-brun .titre-section { color: #F0E4D8; }
.section-brun .sous-titre    { color: rgba(240,228,216,0.75); }
.section-brun p               { color: rgba(240,228,216,0.85); }
.section-brun strong          { color: #F0E4D8; }
.section-brun em              { color: var(--or); }

.section-gris-chaud { background: var(--gris-section); }
.section-gris-chaud .titre-section { color: var(--abricot); }
.section-gris-chaud .sous-titre    { color: rgba(242,201,168,0.6); }
.section-gris-chaud p               { color: rgba(242,201,168,0.8); }
.section-gris-chaud strong          { color: var(--peche); }
.section-gris-chaud em              { color: var(--or); }

.section-parallax {
  background-size: cover; background-position: center;
  background-attachment: fixed; position: relative;
}
.section-parallax .titre-section {
  color: var(--creme);
  font-size: clamp(2.6rem, 5vw, 4rem);
}
.section-parallax .sous-titre { color: var(--peche); font-size: 1.3rem; }
.section-parallax p { color: rgba(250,240,228,0.92); font-size: 1.05rem; line-height: 2; }
.section-parallax::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(35,16,8,0.82);
}
.section-parallax > * { position: relative; z-index: 1; }
.section-parallax .titre-section { color: var(--creme); }
.section-parallax .sous-titre    { color: var(--peche); }
.section-parallax p               { color: rgba(250,240,228,0.88); }

/* Divider doré */
.divider-or {
  display: flex; align-items: center; gap: 16px;
  max-width: 260px; margin: 0 auto 3.5rem;
}
.divider-or::before, .divider-or::after {
  content: ''; flex: 1; height: 1px;
  background: var(--or); opacity: 0.5;
}
.divider-or span { color: var(--or); font-size: 1rem; opacity: 0.7; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.about-grid.reverse { direction: rtl; }
.about-grid.reverse > * { direction: ltr; }
.about-image { position: relative; }
.about-image img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 4px; box-shadow: 0 30px 70px var(--ombre-forte); display: block;
}
.about-image::before {
  content: ''; position: absolute;
  top: -10px; right: -10px; bottom: 10px; left: 10px;
  border: 1px solid var(--or); border-radius: 4px; opacity: 0.45; z-index: -1;
}
.about-text h2 { margin-bottom: 0.4rem; }
.about-text .sous-titre { text-align: left; margin-bottom: 2rem; }
.about-text p  { margin-bottom: 1.1rem; }
.about-text .btn-primary { margin-top: 1.8rem; }

/* ===== 3 BLOCS ===== */
.blocs-3 {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 14px; max-width: 1100px; margin: 0 auto 24px;
}
.bloc-card {
  position: relative; overflow: hidden;
  border-radius: 4px; aspect-ratio: 3/4; cursor: pointer;
}
.bloc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.bloc-card:hover img { transform: scale(1.06); }
.bloc-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(transparent 50%, rgba(61,35,20,0.78) 100%);
  z-index: 1;
}
.bloc-card-label {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 28px 20px 18px;
  color: var(--creme); font-family: 'Dancing Script', cursive; font-size: 1.5rem;
}

/* ===== BLOC RÉSEAUX ===== */
.bloc-large {
  max-width: 1100px; margin: 0 auto;
  background: #8E8E8E; border-radius: 4px;
  padding: 48px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden;
}
.bloc-large::before {
  content: ''; position: absolute; right: -40px; top: -40px;
  width: 200px; height: 200px;
  border: 1px solid rgba(212,148,122,0.12); border-radius: 50%;
}
.bloc-large-text h3 { color: var(--creme); margin-bottom: 0.4rem; }
.bloc-large-text p  { color: rgba(250,240,228,0.65); }
.social-links { display: flex; gap: 12px; flex-shrink: 0; position: relative; z-index: 1; }
.social-links a {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--or); border: 1px solid rgba(212,148,122,0.5);
  padding: 10px 20px; border-radius: 2px; text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.social-links a:hover { background: var(--or); color: var(--brun); border-color: var(--or); }

/* ===== CERTIFS ===== */
.certif-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; max-width: 820px; margin: 2.5rem auto 0;
}
.certif-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(242,201,168,0.1);
  transition: background 0.2s;
}
.certif-item:hover { background: rgba(242,201,168,0.04); }
.certif-icon { font-size: 1rem; margin-top: 3px; flex-shrink: 0; }
.certif-item p { margin: 0; font-size: 0.93rem; }

/* ===== CARTES CERTIFICATIONS ===== */
.certif-cartes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.certif-carte {
  background: var(--ivoire);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 6px;
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.certif-carte:hover {
  box-shadow: 0 8px 32px var(--ombre);
  transform: translateY(-3px);
}
.certif-carte-icone {
  width: 48px; height: 48px;
  background: #8E8E8E;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.certif-carte-body h3 {
  font-family: 'Jost', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: var(--brun) !important;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
  line-height: 1.4 !important;
}
.certif-carte-body p {
  font-size: 0.88rem;
  color: var(--gris-chaud);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1200px) {
  .certif-cartes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1200px) {
  .certif-cartes { grid-template-columns: 1fr; }
}

/* ===== GALERIE ===== */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
  gap: 8px; margin: 0 auto 48px; max-width: 1200px;
}
.galerie-grid img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 3px; transition: transform 0.4s, filter 0.4s;
  filter: brightness(0.97);
}
.galerie-grid img:hover { transform: scale(1.04); filter: brightness(1.05); position: relative; z-index: 1; }

/* ===== CARTES CHIENS ===== */
.chiens-grid {
  display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
  gap: 24px; max-width: 1100px; margin: 0 auto;
}
.carte-chien {
  border-radius: 4px; overflow: hidden;
  background: var(--ivoire);
  box-shadow: 0 4px 24px var(--ombre);
  text-decoration: none; display: block;
  transition: transform 0.35s, box-shadow 0.35s;
}
.carte-chien:hover { transform: translateY(-8px); box-shadow: 0 20px 60px var(--ombre-forte); }
.carte-chien img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 0.5s; }
.carte-chien:hover img { transform: scale(1.03); }
.carte-chien-info {
  background: var(--rose-nude); padding: 18px 22px;
  display: flex; align-items: center; gap: 12px;
}
.carte-chien-info .barre { width: 2px; height: 24px; background: #8E8E8E; border-radius: 1px; flex-shrink: 0; opacity: 0.55; }
.carte-chien-info h3 { color: var(--brun); font-size: 1.5rem; margin: 0; }
.carte-chien-info .sous-race {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem; color: rgba(61,35,20,0.6); font-style: italic; display: block; margin-top: 1px;
}

/* ===== FICHE CHIEN ===== */
.fiche-hero { padding: 90px 9vw 70px; background: var(--creme); }
.fiche-hero-inner {
  display: grid; grid-template-columns: 380px 1fr;
  gap: 70px; align-items: start; max-width: 1050px; margin: 0 auto;
}
.fiche-photo-principale {
  width: 100%; border-radius: 4px;
  box-shadow: 0 24px 70px var(--ombre-forte);
  aspect-ratio: 4/5; object-fit: cover;
}
.fiche-infos h1 { margin-bottom: 0.3rem; }
.fiche-infos .sous-titre { text-align: left; margin-bottom: 2rem; }
.fiche-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2rem; }
.tag {
  font-family: 'Jost', sans-serif;
  font-size: 0.73rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  background: transparent; color: var(--brun-moyen);
  border: 1px solid var(--brun-moyen); padding: 5px 14px; border-radius: 20px;
}
.fiche-photos-supp { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 16px; }
.fiche-photos-supp img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }

/* ===== ADOPTION ===== */
.adoption-steps {
  display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
  gap: 20px; max-width: 920px; margin: 3rem auto 0;
}
.adoption-step {
  text-align: center; padding: 32px 20px;
  background: rgba(242,201,168,0.08); border-radius: 4px;
  border: 1px solid rgba(242,201,168,0.18); transition: background 0.2s, border-color 0.2s;
}
.adoption-step:hover { background: rgba(242,201,168,0.14); border-color: rgba(242,201,168,0.3); }
.adoption-step-num { font-family: 'Dancing Script', cursive; font-size: 3.2rem; color: var(--or); line-height: 1; margin-bottom: 12px; }
.adoption-step h3 { color: var(--peche); font-size: 1.3rem; margin-bottom: 8px; }
.adoption-step p  { font-size: 0.88rem; color: rgba(242,201,168,0.75); }

/* ===== FOOTER ===== */
footer {
  background: #7A7A7A; color: var(--creme);
  padding: 70px 9vw 32px; position: relative;
}
footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--or), transparent); opacity: 0.5;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 70px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(250,248,245,0.1); margin-bottom: 32px;
}
.footer-logo { font-family: 'Dancing Script', cursive; font-size: 2.2rem; color: var(--creme); margin-bottom: 14px; display: block; }
.footer-desc { color: rgba(250,248,245,0.55); font-size: 0.88rem; line-height: 1.8; font-weight: 400; }
.footer-col h4 {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--or); margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(250,248,245,0.65); text-decoration: none; font-size: 0.88rem; font-weight: 400; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--creme); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: rgba(250,248,245,0.4); font-weight: 400;
}

/* Bloc CTA dans la galerie — rectangle large */
.galerie-cta {
  grid-column: 3 / 6;
  aspect-ratio: unset;
  min-height: 200px;
  background: #7A7A7A;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.2s;
  color: var(--creme) !important;
}
.galerie-cta:hover {
  background: #8E8E8E;
  transform: scale(1.01);
}
.galerie-cta span {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--creme) !important;
  text-align: center;
  line-height: 1.3;
  padding: 16px;
  text-decoration: none !important;
}

/* Carte CTA chiots dans certifications — plus claire */
.certif-carte-cta {
  background: var(--brun-doux) !important;
  border-color: transparent !important;
  cursor: pointer;
  transition: background 0.2s, transform 0.25s, box-shadow 0.25s !important;
}
.certif-carte-cta:hover {
  background: #7A7A7A !important;
  transform: translateY(-3px) !important;
}
.certif-carte-lien {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  text-decoration: none !important;
  width: 100%;
  color: inherit !important;
}
.certif-carte-cta .certif-carte-icone {
  background: rgba(255,255,255,0.2) !important;
}
.certif-carte-cta .certif-carte-body h3 {
  color: var(--creme) !important;
  text-decoration: none !important;
}
.certif-carte-cta .certif-carte-body p {
  color: rgba(250,240,228,0.85) !important;
  text-decoration: none !important;
}

@media (max-width: 1200px) {
  .galerie-cta { grid-column: unset; aspect-ratio: 1; min-height: unset; }
  .galerie-cta span { font-size: 1.4rem; }
}

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.75s ease, transform 0.75s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  header { padding: 0 20px; gap: 12px; }
  .logo { font-size: 1.55rem; white-space: nowrap; max-width: calc(100vw - 100px); overflow: hidden; text-overflow: ellipsis; }
  nav ul { display: none; }
  .burger { display: flex; flex-shrink: 0; }
  nav.open ul {
    display: flex; flex-direction: column;
    position: absolute; top: 76px; left: 0; right: 0;
    background: #7A7A7A; padding: 24px 28px 32px; gap: 18px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.35);
  }
  .btn-contact { display: none; }
  nav .contact-mobile-only { display: list-item !important; }
  .about-grid, .about-grid.reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
  .about-image::before { display: none; }
  .blocs-3 { grid-template-columns: 1fr 1fr; }
  .bloc-large { flex-direction: column; text-align: center; padding: 36px 28px; }
  .social-links { justify-content: center; flex-wrap: wrap; }
  .fiche-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .certif-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1200px) {
  .section { padding: 56px 6vw; }
  .blocs-3 { grid-template-columns: 1fr; }
  .section-parallax { background-attachment: scroll; }

  /* HERO */
  .hero {
    padding: 60px 6vw 60px;
    min-height: 100svh;
  }
  .hero-photo-right { display: none; }
  .hero-content { max-width: 100%; }
  .hero-eyebrow { font-size: 0.6rem; letter-spacing: 0.1em; margin-bottom: 18px; }
  .hero-content h1 { font-size: 2rem; line-height: 1.2; }
  .hero-divider { margin: 14px 0; }
  .hero-tagline { font-size: 0.9rem; margin-bottom: 24px; }
  .hero-btns { gap: 10px; margin-bottom: 28px; }
  .hero-certifs { gap: 12px; }

  /* SECTIONS */
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-image img { aspect-ratio: 16/9; max-height: 240px; }
  .about-image::before { display: none; }
  .galerie-grid { grid-template-columns: repeat(2,1fr); }
  .galerie-cta { grid-column: span 2 !important; aspect-ratio: unset !important; min-height: 110px !important; }
  .titre-section { font-size: 2rem !important; }
  h2 { font-size: 1.9rem !important; }
}

/* Menu mobile centré et espacé */
nav.open ul {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 76px; left: 0; right: 0;
  background: #8E8E8E;
  padding: 32px 28px 40px;
  gap: 0;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
  text-align: center;
  align-items: center;
}
nav.open ul li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.1); }
nav.open ul li:last-child { border-bottom: none; }
nav.open ul li a {
  display: block;
  padding: 16px 0;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
}
nav.open .dropdown-menu {
  display: none !important;
}


/* ==========================================================
   MOBILE SAFETY NET — cohérence sur toutes marques/tailles
   Couvre : iOS Safari, Android Chrome, Samsung Internet,
   Firefox mobile, petits écrans (iPhone SE, Samsung A10)
   ========================================================== */

/* 1) Empêcher tout débordement horizontal sur toute la page */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* 2) Images et vidéos responsives par défaut */
img, video, iframe {
  max-width: 100%;
}
img, video {
  height: auto;
}

/* 3) Fix iOS Safari — 100vh trop grand à cause de la barre d'adresse */
@supports (min-height: 100dvh) {
  .hero { min-height: 100dvh !important; }
}

/* 4) Petits écrans (Samsung Galaxy A/S série éco, iPhone SE 1ère-3ème gen) */
@media (max-width: 400px) {
  header { padding: 0 14px; }
  .logo { font-size: 1.35rem; max-width: calc(100vw - 80px); }
  .btn-contact { font-size: 0.7rem; padding: 10px 18px; }
  .section { padding: 44px 5vw !important; }
  .titre-section { font-size: 1.7rem !important; line-height: 1.25; }
  .sous-titre { font-size: 0.92rem !important; }
  .btn-primary { font-size: 0.72rem; padding: 12px 22px; }
  .footer-grid { padding: 0 16px; }
  .footer-col h4, .footer-logo { font-size: 1.1rem; }
  .footer-col ul li, .footer-desc { font-size: 0.85rem; }
  /* Hero ajusté pour très petits écrans */
  .hero h1 { font-size: clamp(2.4rem, 14vw, 3.8rem) !important; }
  .hero-sub { font-size: 0.9rem !important; }
  .hero-eyebrow { font-size: 0.6rem !important; letter-spacing: 0.2em !important; }
}

/* 5) Très petits écrans (vieux Samsung, ≤ 340px) */
@media (max-width: 340px) {
  .logo { font-size: 1.2rem; }
  header { padding: 0 10px; }
  .section { padding: 36px 4vw !important; }
  .titre-section { font-size: 1.5rem !important; }
  .hero h1 { font-size: 2.2rem !important; }
  .btn-primary, .btn-contact { font-size: 0.68rem; padding: 10px 16px; }
}

/* 6) Touch targets minimum WCAG (44×44px) */
@media (pointer: coarse) {
  a.btn-primary, a.btn-contact, button, .burger,
  .nav a, nav.open ul li a, .form-group button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* 7) Empêcher le zoom automatique iOS sur les inputs < 16px */
@media (max-width: 960px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* 8) Éviter les coupures de mots laides sur URL/email longs */
a[href^="mailto"], a[href^="tel"] {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* 9) Images du hero : s'assurer qu'elles ne débordent jamais */
.hero-grid img, .hero img {
  max-width: 100%;
  object-fit: cover;
}


/* ==========================================================
   FIXES pour navigateurs internes (Facebook, Instagram, etc.)
   Ces browsers in-app utilisent parfois de vieux WebViews qui
   ne supportent pas toutes les propriétés CSS modernes.
   ========================================================== */

/* 1) Fallback aspect-ratio (vieux WebView Android / iOS < 15) */
@supports not (aspect-ratio: 1 / 1) {
  .sf-card-img-wrap {
    height: 0 !important;
    padding-top: 100% !important;
    position: relative !important;
  }
  .sf-card-img-wrap > img {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
  }
  .parent-card-img {
    height: 280px !important;
  }
  .about-image img {
    height: auto !important;
    max-height: 360px;
    width: 100%;
  }
}

/* 2) Désactiver les transforms hover sur écrans tactiles (évite les états
   "sticky hover" qui rendent les cartes décalées de façon permanente) */
@media (hover: none), (pointer: coarse) {
  .sf-card:hover,
  .carte-chien:hover,
  .carte-sexe:hover,
  .autre-sf-card:hover,
  .blog-carte:hover,
  .sf-why-item:hover {
    transform: none !important;
  }
  .sf-card:hover .sf-card-img-wrap,
  .carte-chien:hover img {
    box-shadow: none !important;
    transform: none !important;
  }
}

/* 3) Éviter les débordements très fréquents en Facebook in-app browser */
.sf-grid, .parents-grid, .contact-grid, .about-grid,
.blog-grid, .galerie-mobile, .footer-grid, .adoption-step,
.hero-grid {
  max-width: 100%;
}

/* 4) Forcer le rendu des images circulaires sans glitches */
.sf-card-img-wrap {
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  isolation: isolate;
}


/* ==========================================================
   ANNONCE ADOPTION — version subtile et poétique
   ========================================================== */

/* Bandeau discret sous le header — pas de gros bloc coloré */
.banner-adoption {
  background: #F0E4D8;
  color: var(--brun-moyen);
  padding: 14px 24px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.5;
  border-bottom: 1px solid rgba(212,148,122,0.25);
  position: relative;
  z-index: 50;
}
.banner-adoption a {
  color: var(--or);
  text-decoration: none;
  font-style: normal;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-left: 12px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(212,148,122,0.45);
  transition: border-color 0.2s, color 0.2s;
}
.banner-adoption a:hover {
  border-bottom-color: var(--or);
  color: var(--brun);
}
@media (max-width: 700px) {
  .banner-adoption {
    padding: 14px 18px;
    font-size: 0.92rem;
  }
  .banner-adoption a {
    display: block;
    margin: 8px auto 0;
    width: fit-content;
  }
}

/* Mention discrète sous le nom dans les cartes Nos Femelles */
.carte-chien-cherche-famille {
  display: inline-block;
  margin-top: 8px;
  margin-bottom: 4px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--or);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(212,148,122,0.35);
  transition: border-color 0.2s, color 0.2s;
}
.carte-chien-cherche-famille:hover {
  border-bottom-color: var(--or);
  color: var(--brun);
}

/* Section adoption dans les profils — fond doux, pas de couleur agressive */
.adoption-section {
  background: #F5EBDF;
  padding: 56px 6vw 64px;
}
.adoption-wrap {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.adoption-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 14px;
  display: block;
}
.adoption-titre {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--brun);
  margin: 0 0 16px;
  line-height: 1.15;
  font-weight: 500;
}
.adoption-trait {
  width: 40px;
  height: 1px;
  background: var(--or);
  opacity: 0.5;
  margin: 0 0 22px;
}
.adoption-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--brun-moyen);
  margin-bottom: 16px;
}
.adoption-fiche {
  background: #FAF6F0;
  border: 1px solid rgba(212,148,122,0.2);
  border-radius: 4px;
  padding: 26px 30px;
}
.adoption-fiche-titre {
  font-family: 'Jost', sans-serif;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212,148,122,0.2);
}
.adoption-fiche-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(80,80,80,0.08);
  gap: 16px;
}
.adoption-fiche-row:last-child { border-bottom: none; }
.adoption-fiche-row .label {
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(80,80,80,0.55);
  flex-shrink: 0;
}
.adoption-fiche-row .value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--brun);
  text-align: right;
}
.adoption-fiche-row.tarif .label,
.adoption-fiche-row.tarif .value {
  color: var(--brun);
}
.adoption-fiche-row.tarif .value {
  font-weight: 500;
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.adoption-cta {
  display: inline-block;
  margin-top: 24px;
  color: var(--or);
  background: transparent;
  border: 1px solid var(--or);
  font-family: 'Jost', sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.adoption-cta:hover {
  background: var(--or);
  color: #FAF6F0;
}
@media (max-width: 768px) {
  .adoption-wrap { grid-template-columns: 1fr; gap: 28px; }
  .adoption-section { padding: 44px 5vw 48px; }
  .adoption-fiche { padding: 22px 20px; }
  .adoption-text { font-size: 1.02rem; }
}
