@import url("tokens.css");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Source+Sans+3:ital,wght@0,400;0,600;1,400&display=swap");

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  /* Space for fixed mobile CTA bar */
  padding-bottom: 4rem;
}

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

a { color: var(--color-primary); text-decoration: underline; }
a:hover, a:focus { color: var(--color-accent); }
a:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 1rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 9999;
  border-radius: 0 0 4px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ===== TEMPLATE U : TERRASSE CRÉOLE GRAMMAR =====
   Horizontal full-bleed stripes with diagonal clip-path dividers.
   No cards, no grid layout — everything flows in wide-stripe sections.
   Mobile: single column. Tablet+: asymmetric split panels.
*/

/* ===== SITE HEADER ===== */
.site-header {
  background: var(--color-bg);
  border-bottom: 3px solid var(--color-secondary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.site-logo img { height: 48px; width: auto; }

/* ===== NAV ===== */
.site-nav { display: none; }
.site-nav.is-open { display: block; }

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-bg);
  border-bottom: 3px solid var(--color-secondary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 99;
}

.nav-list a {
  display: block;
  padding: 1rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-secondary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.nav-list a:hover,
.nav-list a:focus,
.nav-list a[aria-current="page"] {
  color: var(--color-primary);
  background: rgba(180, 83, 9, 0.05);
}
.nav-list a[aria-current="page"] {
  border-left: 4px solid var(--color-primary);
}

/* Hamburger button */
.nav-toggle {
  background: none;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav-toggle:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}
.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

/* ===== HERO STRIPE ===== */
.hero {
  background: var(--color-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 3rem 1.25rem 5rem;
  /* Diagonal bottom */
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.hero-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--color-secondary);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.hero-body {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 60ch;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-secondary);
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 2px;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.hero-cta:hover, .hero-cta:focus { background: #fcd34d; color: var(--color-text); }

.hero-illustration {
  position: absolute;
  right: -20px;
  bottom: 0;
  width: 45%;
  max-width: 280px;
  opacity: 0.2;
  pointer-events: none;
}

/* ===== STRIPE SECTIONS ===== */
.stripe {
  padding: 3rem 1.25rem;
  position: relative;
}

.stripe-ecru {
  background: #FFFBEB;
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
  padding-top: 4rem;
  padding-bottom: 4rem;
  margin: -1rem 0;
}

.stripe-green {
  background: var(--color-accent);
  color: #fff;
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
  padding-top: 4rem;
  padding-bottom: 4rem;
  margin: -1rem 0;
}
.stripe-green h2, .stripe-green h3 { color: var(--color-secondary); }
.stripe-green p, .stripe-green li { color: #f0fdf4; }
.stripe-green a { color: var(--color-secondary); }

.stripe-white { background: var(--color-bg); }

.stripe-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== SECTION HEADINGS ===== */
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}
.section-lead {
  font-size: 1.05rem;
  color: #374151;
  margin-bottom: 2rem;
  max-width: 65ch;
}

/* ===== FEATURE SPLIT (text + illustration) ===== */
.feature-split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
.feature-split__text { flex: 1; }
.feature-split__visual {
  flex-shrink: 0;
  width: 100%;
  max-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== HIGHLIGHT BAND ===== */
.highlight-band {
  background: var(--color-secondary);
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--color-primary);
  margin: 1.5rem 0;
}
.highlight-band p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
}

/* ===== MENU STRIPES ===== */
.menu-category {
  margin-bottom: 2.5rem;
}
.menu-category h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-secondary);
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.menu-list {
  list-style: none;
}
.menu-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.98rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.menu-list li::before {
  content: "▸";
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.1em;
}

/* ===== RATING BADGE ===== */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: 1rem;
  display: inline-block;
}
.rating-badge:hover { background: #92400e; color: #fff; }

/* ===== CTA BLOCK ===== */
.cta-block {
  background: var(--color-primary);
  color: #fff;
  padding: 2rem 1.25rem;
  text-align: center;
}
.cta-block h2 { color: var(--color-secondary); }
.cta-block p { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }
.btn {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 2px;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.btn:hover, .btn:focus { background: #fcd34d; color: var(--color-text); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  margin-left: 0.75rem;
}
.btn-outline:hover, .btn-outline:focus { background: var(--color-secondary); color: var(--color-text); }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-info { flex: 1; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}
.contact-detail .icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1em;
}
.contact-tel {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}
.contact-tel:hover { color: var(--color-accent); }

/* ===== MAP ===== */
.map-wrap {
  border: 3px solid var(--color-secondary);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 1.5rem;
}
.map-wrap iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

/* ===== FORM ===== */
.contact-form { flex: 1; }
.contact-form h2 { margin-bottom: 1.25rem; }
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 2px solid #d1d5db;
  border-radius: 2px;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  cursor: pointer;
  letter-spacing: 0.03em;
  width: 100%;
}
.form-submit:hover { background: #92400e; }
.form-submit:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; }
.rgpd-notice {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
  padding-top: 0.75rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 2.5rem 1.25rem 1.5rem;
  font-size: 0.9rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}
.footer-tagline { color: #9ca3af; margin-bottom: 1.5rem; }
.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.footer-nav a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.85rem;
}
.footer-nav a:hover { color: var(--color-secondary); }
.footer-legal {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  font-size: 0.78rem;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.footer-credit { color: #9ca3af; }
.footer-credit a { color: var(--color-secondary); }

/* ===== MOBILE FIXED CTA BAR ===== */
.mobile-cta-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-primary);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
}
.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.mobile-cta-bar a:last-child { border-right: none; }
.mobile-cta-bar a:hover, .mobile-cta-bar a:focus { background: #92400e; }
.mobile-cta-bar a:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: -3px; }

/* ===== REVIEWS ===== */
.reviews {
  padding: 2.5rem 1.25rem;
  background: #FFFBEB;
}
.reviews-inner { max-width: 1100px; margin: 0 auto; }
.reviews-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 4px;
  padding: 0.3rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-text);
}
.reviews-avg {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}
.review-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--color-accent);
  padding: 1.25rem;
  border-radius: 2px;
}
.review-card .stars { color: #f59e0b; font-size: 1rem; margin-bottom: 0.4rem; }
.review-card .author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text);
}
.review-card .date {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}
.review-card .text { font-size: 0.95rem; line-height: 1.6; }
.reviews-attribution {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

/* ===== TABLET & DESKTOP ===== */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .mobile-cta-bar { display: none; }

  .site-nav { display: block; }
  .nav-toggle { display: none; }
  .nav-list {
    position: static;
    flex-direction: row;
    border: none;
    box-shadow: none;
    background: transparent;
    gap: 0;
  }
  .nav-list a {
    padding: 0.5rem 1rem;
    border-bottom: 3px solid transparent;
    border-left: none;
  }
  .nav-list a:hover,
  .nav-list a:focus,
  .nav-list a[aria-current="page"] {
    background: transparent;
    border-bottom-color: var(--color-primary);
  }

  .hero { padding: 4rem 2rem 6rem; }
  .hero-inner { max-width: 800px; }

  .stripe { padding: 3rem 2rem; }
  .stripe-ecru, .stripe-green { padding-top: 5rem; padding-bottom: 5rem; }

  .feature-split {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }
  .feature-split.reverse { flex-direction: row-reverse; }
  .feature-split__visual { max-width: 260px; }

  .contact-grid { flex-direction: row; gap: 3rem; }

  .review-cards { flex-direction: row; flex-wrap: wrap; }
  .review-card { flex: 1; min-width: 260px; }

  .map-wrap iframe { height: 340px; }

  .footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
  }
}

@media (min-width: 1024px) {
  .hero { padding: 5rem 2rem 8rem; }
  .stripe { padding: 4rem 2rem; }
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATION PASS — Template U Terrasse Créole
   AnimationDesigner · entièrement encapsulé prefers-reduced-motion
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {

  /* --- Scroll-reveal : sections stripes (opacity seule — clip-path safe) */
  [data-reveal] {
    opacity: 0;
    transition: opacity .6s ease;
  }
  [data-reveal].revealed { opacity: 1; }

  /* --- Scroll-reveal : éléments internes sans clip-path (fade+slide) --- */
  [data-reveal-up] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .55s ease, transform .55s ease;
  }
  [data-reveal-up].revealed { opacity: 1; transform: translateY(0); }

  /* --- Stagger sur listes/grilles ----------------------------------- */
  [data-stagger] > * {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s ease, transform .5s ease;
  }
  [data-stagger].revealed > * { opacity: 1; transform: translateY(0); }
  [data-stagger].revealed > *:nth-child(1) { transition-delay: 0s; }
  [data-stagger].revealed > *:nth-child(2) { transition-delay: .08s; }
  [data-stagger].revealed > *:nth-child(3) { transition-delay: .16s; }
  [data-stagger].revealed > *:nth-child(4) { transition-delay: .24s; }
  [data-stagger].revealed > *:nth-child(5) { transition-delay: .32s; }

  /* --- Hero : entrée séquencée -------------------------------------- */
  @keyframes hero-in {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .hero-eyebrow { animation: hero-in .5s  ease both; animation-delay: .05s; }
  .hero h1      { animation: hero-in .55s ease both; animation-delay: .15s; }
  .hero-tagline { animation: hero-in .55s ease both; animation-delay: .25s; }
  .hero-body    { animation: hero-in .55s ease both; animation-delay: .35s; }
  .hero-cta     { animation: hero-in .5s  ease both; animation-delay: .45s; }

  /* --- Hero illustration : slide depuis la droite ------------------- */
  @keyframes illus-in {
    from { opacity: 0; transform: translateX(28px); }
    to   { opacity: .2; transform: translateX(0); }
  }
  .hero-illustration { animation: illus-in .8s ease both; animation-delay: .3s; }

  /* --- Hover : boutons --------------------------------------------- */
  .btn, .hero-cta, .rating-badge, .form-submit {
    transition: background .18s ease, transform .18s ease,
                box-shadow .18s ease, color .18s ease;
  }
  .btn:hover, .hero-cta:hover, .rating-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(180,83,9,.25);
  }
  .form-submit:hover { transform: translateY(-1px); }

  /* --- Hover : review cards ---------------------------------------- */
  .review-card {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  }
  .review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    border-left-color: var(--color-primary);
  }

  /* --- Hover : feature-split illustration (léger scale) ------------- */
  .feature-split__visual img {
    transition: transform .4s ease;
  }
  .feature-split__visual:hover img { transform: scale(1.03); }

  /* --- Hover : menu list items (indent doux) ----------------------- */
  .menu-list li {
    transition: background .15s ease, padding-left .15s ease;
  }
  .menu-list li:hover {
    background: rgba(180,83,9,.05);
    padding-left: .5rem;
  }

  /* --- Hover : nav links ------------------------------------------- */
  .nav-list a {
    transition: color .15s ease, background .15s ease, border-color .15s ease;
  }

  /* --- Hover : mobile CTA bar -------------------------------------- */
  .mobile-cta-bar a {
    transition: background .15s ease;
  }

  /* --- Hover : contact téléphone ----------------------------------- */
  .contact-tel {
    transition: color .15s ease;
  }

}
/* End animation pass */
