/* ======================================================
   STYLE GLOBAL — Manon Duveiller
   Palette:
   - Vert Sauge: #94A89A (navbar + boutons)
   - Blanc Cassé: #F8F8F6 (fond)
   - Gris vert clair: #AAB8AD (muted)
   - Vert Sauge Foncé: #6E8477 (hover/focus/selection)
   ====================================================== */

/* ================= VARIABLES ================= */
:root{
  /* Fonds */
  --bg: #EFE6DE;          /* fond qui match la photo */
  --surface: #FFFFFF;

  /* Textes */
  --text: #121016;        /* noir doux */
  --muted: #69504B;       /* taupe chaud */

  /* Couleurs principales (navbar + boutons) */
  --accent: #BB927C;      /* taupe/rose doux */
  --accent-hover: #976C57;/* plus foncé au hover */

  /* Optionnel : highlight (liserés, badges, etc.) */
  --accent-soft: #D4A98C;

  /* UI */
  --border: rgba(187,146,124,.28);

  /* Ombres */
  --shadow-soft: 0 10px 24px rgba(18,16,22,.10);
  --shadow-card: 0 14px 34px rgba(18,16,22,.14);

  /* Rayons */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-xl: 22px;
  --radius-pill: 999px;
}

/* Sélection + focus cohérents */
::selection{ background: rgba(151,108,87,.28); }
.form-control:focus, .form-select:focus{
  border-color: var(--accent-hover);
  box-shadow: 0 0 0 .2rem rgba(151,108,87,.22);
}
html, body{ height:100%; }

body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color: inherit; }
a:hover{ color: inherit; }

::selection{
  background: rgba(110,132,119,.35);
}

.hover-underline:hover{
  text-decoration: underline !important;
}

/* ================= TYPO ================= */
h1,h2,h3,h4,h5,h6{
  font-family: "Cormorant Garamond", serif;
  color: #243041;
  font-weight: 700;
}

.display-title{
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .2px;
  font-size: clamp(2rem, 3vw, 3rem);
  color: #243041;
}

.lead-soft{
  color: rgba(47,58,53,.82);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ================= SECTIONS ================= */
.section{
  padding: 4rem 0;
}
@media (max-width: 768px){
  .section{ padding: 3rem 0; }
}

/* ================= NAVBAR (SAGE) ================= */
.navbar{
  background: var(--accent);
  border-bottom: none;
}

.navbar-brand{
  display:flex;
  align-items:center;
}

.navbar-brand img{
  height: 38px;
  width: auto;
  border-radius: 0;
  box-shadow: none;
  display:block;
}

.navbar .nav-link{
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: .55rem .8rem;
  transition: background .15s ease, color .15s ease;
}

.navbar .nav-link:hover{
  background: rgba(255,255,255,.18);
  color: #ffffff;
}

.navbar .nav-link.active{
  background: rgba(255,255,255,.28);
  color: #ffffff;
}

.navbar .navbar-toggler{
  border-color: rgba(255,255,255,.55);
}
.navbar .navbar-toggler:focus{
  box-shadow: 0 0 0 .2rem rgba(255,255,255,.25);
}

/* ================= HERO ================= */
.hero{
  background:
    radial-gradient(900px 420px at 15% 10%, rgba(110,132,119,.12), transparent 60%),
    radial-gradient(900px 520px at 90% 20%, rgba(148,168,154,.18), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0));
  border-bottom: 1px solid rgba(110,132,119,.12);
}

/* ================= BUTTONS ================= */
.btn-accent{
  background: var(--accent);
  color: #ffffff;
  border: 0;
  border-radius: var(--radius-pill);
  padding: .9rem 1.6rem;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(110,132,119,.22);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

.btn-accent:hover{
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(110,132,119,.28);
}

.btn-accent:focus{
  box-shadow: 0 0 0 .2rem rgba(110,132,119,.25), 0 12px 28px rgba(110,132,119,.22);
}

/* Harmoniser les outline bootstrap */
.btn-outline-secondary{
  border-radius: var(--radius-pill);
  padding: .9rem 1.6rem;
  border-color: rgba(110,132,119,.35);
  color: rgba(47,58,53,.90);
}

.btn-outline-secondary:hover{
  background: rgba(148,168,154,.16);
  border-color: rgba(110,132,119,.45);
  color: rgba(47,58,53,1);
}

/* ================= CARDS ================= */
.card-soft{
  background: linear-gradient(135deg, #ffffff, #f4f7f4);
  border: 1px solid rgba(110,132,119,.18);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.border{
  border-color: rgba(110,132,119,.20) !important;
}

/* ================= PHOTO (accueil) ================= */
.photo-main{
  margin: 0;
  display: flex;
  justify-content: center;
}

.photo{
  display: block;
  width: 100%;
  max-width: 610px;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(110,132,119,.16);
}

/* Photo presentation */
.shadow-photo{
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(110,132,119,.16);
}

/* animation douce */
.fade-in{
  opacity: 0;
  transform: translateY(8px);
  animation: fadeInUp .7s ease forwards;
}
@keyframes fadeInUp{
  to{ opacity:1; transform:none; }
}

/* ================= ASIDE ================= */
.aside{
  background: rgba(255,255,255,.80);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(110,132,119,.18);
  box-shadow: var(--shadow-soft);
}

.contact-item{
  line-height: 1.55;
  color: rgba(47,58,53,.86);
}

.aside a{
  text-decoration: none;
  border-bottom: 1px solid rgba(110,132,119,.45);
}

.aside a:hover{
  border-bottom-color: rgba(110,132,119,.85);
}

/* ================= FORMS ================= */
.form-label{
  font-weight: 600;
  color: rgba(47,58,53,.92);
}

.form-control,
.form-select{
  border-radius: 14px;
  border: 1px solid rgba(110,132,119,.22);
  padding: .8rem .95rem;
  background: rgba(255,255,255,.96);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.form-control:focus,
.form-select:focus{
  border-color: var(--accent-hover);
  box-shadow: 0 0 0 .2rem rgba(110,132,119,.25);
  background: #fff;
}

textarea.form-control{ resize: vertical; }

.form-check-input{
  border-color: rgba(110,132,119,.30);
}
.form-check-input:focus{
  box-shadow: 0 0 0 .2rem rgba(110,132,119,.22);
}
.form-check-input:checked{
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* Alerts */
.alert{
  border-radius: var(--radius-md);
  border: 1px solid rgba(110,132,119,.18);
}

/* ================= MAP ================= */
.map-wrapper iframe{
  display:block;
  width:100%;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(110,132,119,.18);
  border: 1px solid rgba(110,132,119,.18);
}

/* ================= FAQ / ACCORDION ================= */
.accordion-item{
  border-radius: var(--radius-md);
  border: 1px solid rgba(110,132,119,.20);
  box-shadow: 0 10px 22px rgba(110,132,119,.10);
  overflow: hidden;
}

.accordion-item + .accordion-item{
  margin-top: .75rem;
}

.accordion-button{
  font-weight: 600;
  background: rgba(255,255,255,.92);
}

.accordion-button:not(.collapsed){
  background: rgba(148,168,154,.18);
  color: rgba(47,58,53,1);
  box-shadow: none;
}

.accordion-button:focus{
  box-shadow: 0 0 0 .2rem rgba(110,132,119,.22);
}

.accordion-body{
  background: rgba(255,255,255,.95);
  color: rgba(47,58,53,.86);
}

/* ================= RDV ================= */
.rdv-box{
  background: linear-gradient(135deg, #ffffff, #f2f5f2);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(110,132,119,.16);
}

.rdv-box p{
  color: rgba(47,58,53,.84);
  max-width: 60ch;
}

.rdv-actions{
  display:flex;
  justify-content:flex-end;
}

.rdv-btn{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  padding:14px 32px;
  border-radius:999px;
  font-weight:600;
  border:0;
  background: var(--accent);
  color:#ffffff;
  text-decoration:none;
  box-shadow: 0 10px 24px rgba(110,132,119,.22);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.rdv-btn:hover{
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(110,132,119,.26);
}

@media (max-width: 768px){
  .rdv-actions{ justify-content: stretch; }
  .rdv-btn{ width: 100%; justify-content: center; }
  .rdv-box p{ max-width: 100%; }
}

/* ================= FOOTER ================= */
footer{
  background: rgba(255,255,255,.92);
}

footer a{
  color: rgba(47,58,53,.85);
}
footer a:hover{
  color: rgba(47,58,53,1);
  text-decoration: underline;
}


/* ===== Responsive Mobile ===== */

/* Typo + spacing sur petit écran */
@media (max-width: 576px){
  .display-title{
    font-size: 1.9rem;   /* évite les titres trop grands */
    line-height: 1.15;
  }

  .lead-soft{
    font-size: 1rem;
  }

  .section{
    padding: 2.5rem 0;
  }

  .hero{
    padding-top: 2.5rem !important;
    padding-bottom: 2rem !important;
  }
}

/* Boutons full width sur mobile */
@media (max-width: 768px){
  .btn-accent,
  .btn-outline-secondary,
  .rdv-btn{
    width: 100%;
    justify-content: center;
  }

  /* espacements */
  .d-grid.d-sm-flex{
    display: grid !important;
  }
}

/* Photo accueil : limite la taille sur mobile */
@media (max-width: 768px){
  .photo{
    max-width: 360px;
    margin: 0 auto;
  }
}

/* Navbar : liens plus faciles à toucher */
@media (max-width: 991.98px){
  .navbar .nav-link{
    padding: .75rem .9rem;
  }
}

