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

:root {
  --red: #c0392b;
  --red-dark: #96281b;
  --orange: #e67e22;
  --cream: #fdf6ec;
  --cream-dark: #f5e9d3;
  --dark: #1c1c1c;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.16);
  --radius: 14px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1rem;
}

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

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  box-shadow: 0 2px 16px rgba(0,0,0,.35);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
}
.nav-logo span { color: var(--orange); }

.nav-links { display: flex; gap: clamp(1.5rem, 3vw, 3rem); list-style: none; }
.nav-links a {
  color: #ccc;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .03em;
  transition: color .2s;
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span {
  display: block; width: 26px; height: 2px;
  background: var(--white); margin: 6px 0;
  transition: transform .3s, opacity .3s;
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: clamp(440px, 60vh, 700px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .62;
}
.hero-content {
  position: relative;
  width: 100%;
  max-width: 860px;
  padding: 5rem clamp(1.5rem, 5vw, 4rem);
  margin: 0 auto;
  text-align: center;
  color: var(--white);
}
.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .4rem 1.2rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: .92;
  margin-bottom: 2.2rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== BOUTONS ===== */
.btn {
  display: inline-block;
  padding: .85rem 2.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.8); }

/* ===== SECTION ===== */
.section { padding: clamp(3.5rem, 6vw, 6rem) clamp(1.5rem, 4vw, 3rem); }
.section-alt { background: var(--white); }
.container { max-width: 1280px; margin: 0 auto; }
.container-md { max-width: 960px; margin: 0 auto; }

.section-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* ===== PAGE HERO (sous-pages) ===== */
.page-hero {
  background: var(--dark);
  padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
}
.page-hero p { color: #aaa; margin-top: .8rem; font-size: 1.05rem; }

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1.6rem; flex: 1; }
.card-body h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.card-body p { color: var(--text-light); font-size: .95rem; line-height: 1.6; }

/* ===== DEUX COLONNES ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.two-col img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: clamp(340px, 40vw, 520px);
  object-fit: cover;
}
.two-col-text h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 1.1rem; color: var(--dark); }
.two-col-text p { color: var(--text-light); margin-bottom: 1.2rem; font-size: 1.02rem; }

/* ===== ICÔNES PRESTATIONS ===== */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.icon-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.8rem 1.2rem;
  text-align: center;
  border: 1px solid var(--cream-dark);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.icon-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--orange); }
.icon-card .icon-wrap {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}
.icon-card .icon-wrap.red   { background: #fdecea; color: var(--red); }
.icon-card .icon-wrap.orange { background: #fef3e2; color: var(--orange); }
.icon-card .icon-wrap.blue   { background: #e8f4fd; color: #2980b9; }
.icon-card .icon-wrap.green  { background: #e9f7ef; color: #27ae60; }
.icon-card .icon-wrap.purple { background: #f4ecfd; color: #8e44ad; }
.icon-card h4 { font-size: 1rem; margin-bottom: .35rem; color: var(--dark); }
.icon-card p { font-size: .85rem; color: var(--text-light); line-height: 1.5; }

/* Service cards avec icône */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.2rem;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card .svc-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #fdecea;
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.8rem;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: .6rem; color: var(--dark); }
.service-card p { font-size: .93rem; color: var(--text-light); line-height: 1.6; }

/* ===== CONTACT BOX ===== */
.contact-box {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
}
.contact-box h2 { font-size: 1.8rem; margin-bottom: 1.5rem; color: var(--white); }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.contact-icon {
  width: 46px; height: 46px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-item a { color: var(--orange); }
.contact-item a:hover { text-decoration: underline; }

/* ===== CARTE MENU ===== */
.menu-section { margin-bottom: 3.5rem; }
.menu-section-title {
  font-size: 1.4rem;
  font-family: var(--font-heading);
  color: var(--red);
  border-bottom: 2px solid var(--cream-dark);
  padding-bottom: .6rem;
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.menu-section-sub {
  font-size: .87rem;
  color: var(--text-light);
  margin-bottom: 1.2rem;
  font-style: italic;
}
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem 3rem;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .6rem 0;
  border-bottom: 1px dotted #ddd;
  gap: .5rem;
}
.menu-item-name { font-size: .96rem; min-width: 0; }
.menu-item-name strong { font-weight: 600; color: var(--dark); }
.menu-item-name small { display: block; font-size: .82rem; color: var(--text-light); margin-top: 2px; }
.menu-item-price {
  font-weight: 700;
  color: var(--red);
  font-size: .96rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== QUOTE ===== */
.quote-box {
  background: var(--cream-dark);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.6rem 2.2rem;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--dark);
  font-style: italic;
  margin: 2.5rem 0;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: #999;
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: .88rem;
  line-height: 1.8;
}
footer a { color: var(--orange); }
footer a:hover { text-decoration: underline; }
footer strong { color: var(--white); }

/* ===== RESPONSIVE – TABLETTE ===== */
@media (max-width: 900px) {
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== RESPONSIVE – MOBILE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--dark);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-top: 1px solid #333;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .two-col { grid-template-columns: 1fr; gap: 2rem; }

  .menu-grid { grid-template-columns: 1fr; }

  .hero { min-height: 380px; }

  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .service-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .icon-grid { grid-template-columns: 1fr 1fr; }
  .service-cards { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
}

/* ===== GRAND ÉCRAN (1440px+) ===== */
@media (min-width: 1440px) {
  body { font-size: 1.05rem; }
  .hero { min-height: 680px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .icon-grid { grid-template-columns: repeat(6, 1fr); }
  .menu-grid { gap: .5rem 4rem; }
}
