/* --- Variables (identité enseigne) --- */
:root {
  --mint: #c8e2d1;
  --mint-deep: #a8cbb8;
  --navy: #2a333c;
  --navy-soft: #3d4a56;
  --white: #f7faf8;
  --text-on-mint: #1e252c;
  --font: "Fredoka", system-ui, sans-serif;
  --radius: 1rem;
  --shadow: 0 12px 40px rgba(42, 51, 60, 0.18);
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-on-mint);
  background: var(--mint);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: var(--mint);
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
  outline: 3px solid var(--mint);
  outline-offset: 2px;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--mint);
  border-bottom: 2px solid rgba(42, 51, 60, 0.08);
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  font-weight: 700;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  letter-spacing: 0.02em;
  color: var(--navy);
  text-decoration: none;
  text-shadow:
    0 0 0 2px var(--mint),
    0 0 0 4px var(--navy);
  -webkit-text-stroke: 1px var(--navy);
  paint-order: stroke fill;
}

.logo:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 2px solid var(--navy);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 3px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 2px;
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  padding: 0.25rem 0.35rem;
}

.site-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-nav a:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

.nav-phone {
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  color: var(--navy) !important;
  background: rgba(255, 255, 255, 0.45);
  padding: 0.4rem 0.75rem !important;
  border-radius: 999px;
  border: 2px solid var(--navy);
}

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

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 1.5rem;
    background: var(--mint);
    border-top: 2px solid rgba(42, 51, 60, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.5rem;
  }

  .site-nav a {
    padding: 0.65rem 0;
    font-size: 1.1rem;
  }

  .nav-phone {
    margin-top: 1rem;
    text-align: center;
  }
}

/* --- Hero (plein premier écran, mobile & bureau) --- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  /* Hauteur = fenêtre moins le header sticky (téléphone & PC) */
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  padding: clamp(0.75rem, 2.5vw, 1.5rem) 0 0;
  overflow: hidden;
  color: var(--navy);
}

.hero-flowers {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-flower {
  position: absolute;
  height: auto;
  opacity: 0.2;
  object-fit: contain;
}

.hero-flower--a {
  right: min(-1rem, -3vw);
  top: 6%;
  width: min(48vw, 240px);
  transform: rotate(-10deg);
}

.hero-flower--b {
  right: 18%;
  bottom: 22%;
  width: min(28vw, 150px);
  transform: rotate(18deg);
  opacity: 0.14;
}

.hero-flower--c {
  left: 2%;
  top: 38%;
  width: min(22vw, 110px);
  transform: rotate(8deg);
  opacity: 0.16;
}

.hero-flower--d {
  left: 12%;
  bottom: 18%;
  width: min(16vw, 80px);
  transform: rotate(-22deg);
  opacity: 0.12;
}

@media (max-width: 640px) {
  .hero-flower--a {
    width: min(55vw, 200px);
    opacity: 0.14;
  }

  .hero-flower--b {
    display: none;
  }

  .hero-flower--c {
    top: 50%;
    width: min(30vw, 90px);
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(255, 255, 255, 0.55), transparent 55%),
    linear-gradient(165deg, var(--mint) 0%, var(--mint-deep) 100%);
  opacity: 0.9;
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: min(40rem, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: clamp(0.75rem, 3vw, 2rem) 1.25rem clamp(1rem, 4vw, 3rem);
}

.hero-kicker {
  margin: 0 0 0.35rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--navy-soft);
}

.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  max-width: 36ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--navy);
  color: var(--mint);
  border-color: var(--navy);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--navy-soft);
  border-color: var(--navy-soft);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--navy);
  border-color: var(--navy);
}

.btn-dark {
  background: var(--navy);
  color: var(--mint);
  border-color: var(--navy);
}

.btn-block {
  width: 100%;
}

.wave {
  line-height: 0;
  color: var(--navy);
}

.wave svg {
  display: block;
  width: 100%;
  height: clamp(48px, 8vw, 88px);
}

.wave-hero-bottom {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  margin-top: auto;
  margin-bottom: -1px;
}

.wave-hero-bottom .wave-hero-svg {
  display: block;
  width: 100%;
  min-width: 100%;
  height: clamp(80px, 14vw, 160px);
}

/* --- Sections --- */
.section {
  position: relative;
}

.section-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
}

.section-dark {
  background: var(--navy);
  color: var(--mint);
  padding-top: 0;
}

.section-dark .section-header h2,
.section-dark .section-intro {
  color: var(--mint);
}

.section-dark .card {
  background: var(--navy-soft);
  border: 1px solid rgba(200, 226, 209, 0.2);
}

.wave-section-top {
  color: var(--mint);
  margin-top: -1px;
}

.wave-section-top svg {
  height: clamp(40px, 6vw, 72px);
}

.section-dark .section-inner {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  position: relative;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
}

.section-intro {
  margin: 0;
  opacity: 0.92;
}

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
}

.card {
  position: relative;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2.9rem;
  margin-bottom: 0.65rem;
  background: url("fleur2.svg") center / contain no-repeat;
  opacity: 0.55;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  font-size: 0.98rem;
  opacity: 0.95;
}

.section-mint {
  background: var(--mint);
  color: var(--text-on-mint);
  padding-bottom: 0;
}

.section-mint .section-header h2,
.section-mint h2,
.section-mint h3 {
  color: var(--navy);
}

.wave-mint-bottom {
  color: var(--navy);
  margin-top: 2rem;
}

.wave-mint-bottom svg {
  height: clamp(44px, 7vw, 80px);
}

/* --- Section enseigne + fleurs décor --- */
.section-sign {
  position: relative;
  overflow: hidden;
}

.sign-flowers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.sign-flower {
  position: absolute;
  height: auto;
  opacity: 0.18;
  object-fit: contain;
}

.sign-flower--1 {
  left: -1.5rem;
  top: 12%;
  width: min(35vw, 160px);
  transform: rotate(-15deg);
}

.sign-flower--2 {
  right: 3%;
  bottom: 28%;
  width: min(22vw, 100px);
  transform: rotate(22deg);
  opacity: 0.14;
}

.section-sign .section-inner {
  position: relative;
  z-index: 1;
}

.section-sign .wave-mint-bottom {
  position: relative;
  z-index: 2;
  /* Corrige un décalage d’1–2 px entre la menthe et le bloc horaires */
  top: 3px;
}

/* --- Enseigne block --- */
.sign-block {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
  .sign-block {
    grid-template-columns: 1fr;
  }
}

.sign-text h2 {
  margin-top: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.sign-text p {
  margin: 0 0 1rem;
}

.sign-note {
  font-weight: 500;
  color: var(--navy-soft);
}

.sign-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid var(--navy);
  box-shadow: var(--shadow);
}

.sign-photo img {
  width: 100%;
  object-fit: cover;
}

/* --- Horaires --- */
.section-hours .section-inner {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

.hours-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
  grid-template-columns: 1.2fr 0.8fr;
}

@media (max-width: 720px) {
  .hours-grid {
    grid-template-columns: 1fr;
  }
}

.hours-disclaimer {
  margin: 0 0 1rem;
  opacity: 0.9;
  font-size: 0.95rem;
}

.hours-table {
  width: 100%;
  max-width: 28rem;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.hours-table th,
.hours-table td {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(200, 226, 209, 0.25);
  text-align: left;
}

.hours-table th {
  font-weight: 600;
  width: 42%;
}

.hours-footnote {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.85;
  max-width: 36rem;
}

.hours-card {
  position: relative;
  background: var(--navy-soft);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(200, 226, 209, 0.2);
  overflow: hidden;
}

.hours-card-title {
  margin: 0 0 1rem;
  font-weight: 600;
  font-size: 1.05rem;
}

.hours-card .btn-primary:focus-visible {
  outline-color: var(--mint);
}

/* --- Contact --- */
.section-contact {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

@media (max-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-grid h2 {
  margin-top: 0;
}

.address {
  font-style: normal;
  margin: 0 0 1rem;
  line-height: 1.6;
}

.contact-phone {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.contact-phone a {
  color: var(--navy);
  text-decoration: none;
  text-shadow:
    0 0 0 1px var(--mint),
    0 0 0 3px var(--navy);
  -webkit-text-stroke: 0.5px var(--navy);
}

.contact-phone a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.contact-phone a:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
  border-radius: 4px;
}

.social-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.45);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.5rem;
  padding-top: 2.25rem;
}

.social-title {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.social-lead {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  color: var(--navy-soft);
  max-width: 22rem;
}

.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--mint);
  transition: transform 0.15s ease, background 0.15s ease;
}

.social-link:hover {
  transform: scale(1.06);
  background: var(--navy-soft);
}

.social-link:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.social-icon {
  width: 1.45rem;
  height: 1.45rem;
}

/* --- Fleur (même graphisme que le favicon) --- */
.flower-icon {
  display: block;
  width: 4rem;
  height: auto;
  margin: 0 auto 0.85rem;
  object-fit: contain;
}

.flower-icon--header {
  width: clamp(3.25rem, 8vw, 4.25rem);
  margin-bottom: 0.75rem;
  opacity: 0.92;
}

.section-dark .flower-icon--header {
  opacity: 0.88;
}

.flower-icon--watermark {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  width: clamp(6.5rem, 28vw, 9.5rem);
  margin: 0;
  opacity: 0.32;
  pointer-events: none;
}

.flower-icon--panel {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 3.25rem;
  margin: 0;
  opacity: 0.38;
  pointer-events: none;
}

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  color: var(--mint);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.footer-brand {
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.footer-copy {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.85;
}
