/* --- 1. DESIGN SYSTEM --- */
:root {
    --bg-pink-light: #ffc7ec;
    --bg-pink-dark: #f0bbde;
    --text-primary: #000b3d;
    --text-secondary: #715e89;
    --white: #ffffff;
    --accent-cta: #000b3d;
    --accent-hover: #1a2350;
    --whatsapp-green: #25D366;
    
    --font-heading: 'Vidaloka', serif;
    --font-body: 'Lato', sans-serif;
    
    --border-radius: 12px;
    --shadow-soft: 0 10px 30px rgba(0, 11, 61, 0.08);
    --site-max-width: 1024px;
}

/* --- 2. RESET & BASES --- */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: #fdfdfd;
    padding-top: 100px;
}

h1, h2, h3, h4 { font-family: var(--font-heading); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

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

.text-center { text-align: center; }

.section-title {
    font-size: 2.2rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1rem;
}
.section-title span { color: var(--text-secondary); font-style: italic; }

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    color: #555;
}

/* --- 3. FOND RAYÉ --- */
.striped-bg, .striped-bg-section {
    background-color: var(--bg-pink-light);
    background-image: repeating-linear-gradient(
        45deg,
        var(--bg-pink-light),
        var(--bg-pink-light) 20px,
        var(--bg-pink-dark) 20px,
        var(--bg-pink-dark) 40px
    );
}

/* --- 4. HEADER --- */
header {
    position: fixed; top: 0; left: 0; width: 100%; height: 90px;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px);
    z-index: 10000; box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    display: flex; justify-content: center; align-items: center;
}

.header-inner {
    display: flex; align-items: center; justify-content: center; gap: 30px;
    width: 100%; max-width: var(--site-max-width); padding: 0 20px;
}

.logo img { height: 50px; width: auto; }
nav ul { display: flex; gap: 25px; list-style: none; margin: 0; padding: 0; }
nav a {
    font-weight: 700; text-transform: uppercase; font-size: 0.8rem;
    letter-spacing: 1px; transition: color 0.3s; white-space: nowrap;
}
nav a:hover { color: var(--text-secondary); }

.btn-header {
    border: 2px solid var(--text-primary); padding: 0.5rem 1.2rem; border-radius: 30px;
    font-weight: bold; font-size: 0.85rem; transition: all 0.3s; white-space: nowrap;
}
.btn-header:hover { background: var(--text-primary); color: var(--white); }

@media (max-width: 900px) {
    nav { display: none; }
    .header-inner { justify-content: space-between; }
}

/* --- 5. HERO --- */
.hero {
    min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 3rem 0;
}
.hero-content {
    background: var(--white); padding: 3.5rem; border-radius: 20px;
    box-shadow: var(--shadow-soft); max-width: 800px; width: 100%;
    text-align: center; margin: 0 auto; position: relative; z-index: 2;
}
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1.2rem; margin-bottom: 2.5rem; color: #4a4a4a; }

.btn-primary {
    display: inline-block; background-color: var(--accent-cta); color: var(--white);
    padding: 1rem 2.5rem; border-radius: 50px; font-weight: 700;
    transition: transform 0.3s, background 0.3s; box-shadow: 0 5px 15px rgba(0, 11, 61, 0.3);
    border: none; cursor: pointer; font-size: 1rem;
}
.btn-primary:hover { transform: translateY(-3px); background-color: var(--accent-hover); }

/* --- 6. CONTENU & GRILLES --- */
.section-white { background-color: var(--white); padding: 5rem 0; }
.py-large { padding-top: 5rem; padding-bottom: 5rem; }

/* Checklist */
.checklist-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.checklist-item {
    background: #fff; padding: 2rem; border-radius: 12px; border: 1px solid #f0f0f0;
    text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,0.03); transition: transform 0.3s;
}
.checklist-item:hover { transform: translateY(-5px); border-color: var(--bg-pink-dark); }
.icon-check { font-size: 2.5rem; margin-bottom: 1rem; }

/* Piliers 2x2 */
.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 768px) { .cards-grid { grid-template-columns: 1fr; } }

.card {
    background: var(--white); border-radius: 12px; overflow: hidden;
    box-shadow: var(--shadow-soft); transition: transform 0.3s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); }
.card-image { height: 200px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-content { padding: 1.5rem; text-align: center; flex: 1; }
.card-content h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--text-primary); }

.bio-section { display: flex; align-items: center; gap: 3rem; padding: 2rem 0; }
.bio-image { flex: 1; }
.bio-image img { border-radius: 20px; box-shadow: var(--shadow-soft); }
.bio-text { flex: 1; }
.bio-quote {
    font-family: var(--font-heading); font-size: 1.4rem; color: var(--text-secondary);
    border-left: 4px solid var(--bg-pink-dark); padding-left: 1.5rem; margin: 2rem 0; font-style: italic;
}
@media (max-width: 900px) { .bio-section { flex-direction: column; text-align: center; } }

/* --- 7. CONTACT (Nouvelle Structure) --- */
.contact-section {
    background-color: var(--bg-pink-light);
    background-image: repeating-linear-gradient(45deg, var(--bg-pink-light), var(--bg-pink-light) 20px, var(--bg-pink-dark) 20px, var(--bg-pink-dark) 40px);
    color: var(--text-primary);
    padding: 5rem 0;
}

/* Grille du haut : Infos + Calendly */
.contact-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem; /* Espace avant la map */
}
@media (max-width: 900px) { .contact-top-grid { grid-template-columns: 1fr; } }

.contact-info h2 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--text-primary); }
.contact-subtitle { color: #555; margin-bottom: 2rem; font-size: 1.1rem; }

.info-box {
    background: var(--white); padding: 2rem; border-radius: 12px;
    margin-bottom: 1.5rem; box-shadow: var(--shadow-soft);
}
.info-box h3 { color: var(--text-primary); margin-bottom: 1rem; font-size: 1.2rem; }

.hours-list { list-style: none; font-size: 0.95rem; color: #555; }
.hours-list li {
    display: flex; justify-content: space-between; margin-bottom: 0.5rem;
    border-bottom: 1px solid #eee; padding-bottom: 5px;
}
.hours-list li span:last-child { font-weight: bold; color: var(--text-secondary); }

.btn-whatsapp-green {
    display: inline-flex; align-items: center; gap: 10px;
    background-color: #25D366; color: white; padding: 0.8rem 1.5rem;
    border-radius: 8px; font-weight: bold; text-decoration: none; margin-top: 1rem;
    transition: transform 0.3s;
}
.btn-whatsapp-green:hover { transform: translateY(-2px); background-color: #20b857; }

.calendly-wrapper {
    background: var(--white); padding: 1rem; border-radius: 20px;
    min-height: 500px; display: flex; flex-direction: column; justify-content: center;
    box-shadow: var(--shadow-soft);
}
.calendly-placeholder {
    border: 2px dashed #ddd; border-radius: 10px; height: 100%; width: 100%;
    display: flex; align-items: center; justify-content: center; color: #999;
    font-weight: bold; text-align: center; padding: 2rem;
}

/* MAP PLEINE LARGEUR */
.map-full-width {
    width: 100%;
    height: 400px; /* Plus haut pour être lisible */
    border-radius: 12px;
    overflow: hidden;
    border: 4px solid var(--white); /* Cadre blanc joli */
    box-shadow: var(--shadow-soft);
}
.map-full-width iframe { width: 100%; height: 100%; border: 0; }

/* --- 8. FOOTER --- */
footer { background: #00051f; color: #aaa; padding: 3rem 0; font-size: 0.9rem; }
.footer-logo-box {
    background-color: var(--white); padding: 10px 20px; border-radius: 8px; margin-bottom: 1.5rem;
}
.footer-logo-box img { height: 50px; width: auto; display: block; }
footer .container { display: flex; flex-direction: column; align-items: center; }
footer a { color: var(--bg-pink-light); }

/* --- 9. WHATSAPP FLOTTANT --- */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    background-color: var(--whatsapp-green); color: #FFF;
    border-radius: 50px; padding: 12px 25px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); z-index: 10001;
    text-decoration: none; transition: transform 0.3s;
}
.whatsapp-float:hover { transform: translateY(-3px); }
.whatsapp-icon { width: 24px; height: 24px; fill: #FFF; }
.whatsapp-text { font-family: var(--font-body); font-weight: 700; font-size: 1rem; }
@media (max-width: 480px) {
    .whatsapp-float { bottom: 20px; right: 20px; padding: 15px; border-radius: 50%; }
    .whatsapp-text { display: none; }
}

/* --- 10. PAGES LEGALES (Simple) --- */
.legal-content {
    background: var(--white);
    padding: 4rem;
    margin: 4rem auto;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}
.legal-content h1 { margin-bottom: 2rem; }
.legal-content h2 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 1rem; color: var(--text-secondary); }
.legal-content p { margin-bottom: 1rem; color: #555; }

/* =========================
   HERO: limite hauteur fond rayé sur grands écrans
   (à coller en fin de style.css)
   ========================= */

:root{
  /* Ajuste si besoin */
  --hero-max-height: 720px;   /* plafond sur grands écrans */
  --hero-min-height: 520px;   /* minimum confort desktop */
}

.striped-bg{
  /* Le fond rayé ne doit pas devenir un poster 4K */
  max-height: var(--hero-max-height);
  min-height: var(--hero-min-height);
  overflow: hidden;

  /* On centre le contenu, visuellement stable */
  display: flex;
  align-items: center;
}

.hero{
  /* Évite les paddings énormes qui font gonfler la zone */
  padding-top: clamp(40px, 6vw, 70px) !important;
  padding-bottom: clamp(40px, 6vw, 70px) !important;
}

/* Mobile: on laisse respirer, sans forcer une grosse hauteur */
@media (max-width: 900px){
  .striped-bg{
    min-height: unset;
    max-height: unset;
    display: block;
  }
}