/* ===== Océane — Bois de chauffage ===== */
:root {
  --orange: #e8711c;
  --orange-dark: #c95c0f;
  --green: #1f3a2b;
  --green-2: #2c4d3a;
  --cream: #f8f4ee;
  --beige: #f1e9dd;
  --ink: #1d1d1b;
  --muted: #5b5a55;
  --line: #ddd2c2;
  --white: #fff;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 16px;
  --shadow: 0 12px 30px rgba(40, 25, 10, .12);
  --header-h: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--cream);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; color: var(--green); }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(232, 113, 28, .35); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-2); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(0, 0, 0, .15); backdrop-filter: blur(2px); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .15); }
.btn-lg { min-height: 58px; padding: 0 34px; font-size: 18px; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* ===== En-tête ===== */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(250, 247, 242, .96); backdrop-filter: blur(8px);
  transition: box-shadow .2s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .08); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 64px; height: auto; }
.brand-text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-name { font: 800 42px/1 var(--serif); color: var(--green); letter-spacing: -.5px; }
.brand-sub {
  display: flex; align-items: center; gap: 8px; margin-top: 4px;
  font: 500 15px/1 var(--sans); color: var(--green);
}
.brand-sub::before, .brand-sub::after { content: ""; width: 22px; height: 2px; background: var(--green); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 16px; border: 0; background: none; cursor: pointer;
  font: 500 17px/1 var(--sans); color: var(--ink); text-decoration: none;
}
.nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 3px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transition: transform .2s;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--orange); font-weight: 700; }
.chev { width: 12px; height: 12px; transition: transform .2s; }
.has-sub { position: relative; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 220px; margin: 0; padding: 8px; list-style: none;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.sub a { display: block; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.sub a:hover { background: var(--beige); color: var(--orange-dark); }
@media (hover: hover) and (min-width: 1101px) {
  .has-sub:hover .sub { opacity: 1; visibility: visible; transform: none; }
  .has-sub:hover .chev { transform: rotate(180deg); }
}
.has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub.open .chev { transform: rotate(180deg); }
.btn-order { min-height: 54px; padding: 0 26px; }

.burger { display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--green); cursor: pointer; padding: 13px 12px; }
.burger span { display: block; height: 3px; margin: 4px 0; border-radius: 2px; background: #fff; transition: .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Héros ===== */
.hero {
  position: relative; min-height: min(640px, 82vh); display: flex; align-items: center;
  background: #1a120b;
  color: #fff; overflow: hidden; isolation: isolate;
}
/* Bûches empilées en fond, le feu du poêle à droite (comme sur une photo de salon) */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../images/pile.jpg") center / cover no-repeat;
  filter: saturate(1.1) brightness(.9);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 13, 7, .92) 0%, rgba(20, 13, 7, .78) 34%, rgba(20, 13, 7, .25) 58%, rgba(20, 13, 7, 0) 70%),
    linear-gradient(0deg, rgba(20, 13, 7, .45), rgba(20, 13, 7, 0) 30%);
}
.hero-fire {
  position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 46%;
  background: url("../images/poele.jpg") 30% center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}
.hero-inner { padding: 70px 0; }
.hero-title { margin: 0 0 18px; color: #fff; }
.hero-title span { display: block; }
.hero-name { font-size: clamp(64px, 9vw, 116px); font-weight: 900; letter-spacing: -1.5px; line-height: .95; margin-bottom: 18px; text-shadow: 0 4px 20px rgba(0, 0, 0, .35); }
.hero-line { font-size: clamp(32px, 4vw, 52px); font-weight: 800; line-height: 1.12; }
.hero-line.accent { color: var(--orange); }
.hero-tagline { font: italic 500 clamp(20px, 2.2vw, 27px)/1.35 var(--serif); margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-place { display: flex; align-items: center; gap: 8px; margin: 26px 0 0; font-weight: 500; opacity: .92; }
.hero-place svg { width: 20px; height: 20px; color: var(--orange); }

/* ===== Atouts ===== */
.features { background: var(--beige); border-block: 1px solid var(--line); }
.features-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 26px 16px; }
.feature + .feature { border-left: 2px solid #b7ad9f; }
.feature svg { width: 50px; height: 50px; flex: none; color: var(--green); }
.feature p { margin: 0; line-height: 1.3; }
.feature strong { display: block; font-weight: 600; font-size: 17px; }
.feature span { font-size: 16px; }

/* ===== Pourquoi ===== */
.why {
  position: relative; padding: 70px 0 80px; overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 220' preserveAspectRatio='none'%3E%3Cg fill='%23c9d3c3'%3E%3Cpath d='M0 220 30 120 60 220zM40 220 85 60 130 220zM110 220 140 140 170 220zM900 220 935 110 970 220zM950 220 1000 40 1050 220zM1030 220 1065 120 1100 220zM1090 220 1140 70 1190 220zM1160 220 1185 150 1210 220z'/%3E%3C/g%3E%3Cg fill='%23dfe5d8'%3E%3Cpath d='M180 220 210 140 240 220zM230 220 270 90 310 220zM700 220 730 130 760 220zM760 220 800 80 840 220zM830 220 860 150 890 220z'/%3E%3C/g%3E%3C/svg%3E") bottom / 100% 220px no-repeat,
    var(--cream);
}
.why-inner { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: 50px; align-items: center; }
.kicker-line { display: block; width: 72px; height: 3px; background: var(--orange); margin-bottom: 18px; }
.why-text p { font-size: 19px; color: #2f2f2c; max-width: 560px; margin-bottom: 26px; }
.why-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.round { position: relative; display: block; text-decoration: none; transition: transform .2s; }
.round:hover { transform: translateY(-4px); }
.round img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 6px solid #fff; box-shadow: var(--shadow);
}
.round span {
  position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%);
  padding: 8px 26px; border-radius: 999px; white-space: nowrap;
  background: var(--green); color: #fff; font: 700 21px/1.2 var(--serif);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .2);
}

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-dark { background: var(--green); color: #e9efe9; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-cream { background: var(--beige); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 18px; }
.section-dark .section-head p { color: #c9d6cc; }
.kicker { display: inline-block; margin-bottom: 10px; font: 700 14px/1 var(--sans); letter-spacing: 1.6px; text-transform: uppercase; color: var(--orange); }

/* Cartes produits */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 20px); }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.card-body p { color: var(--muted); }
.ticks { list-style: none; margin: 0 0 22px; padding: 0; }
.ticks li { position: relative; padding-left: 28px; margin: 6px 0; font-weight: 500; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid #eee5d9; }
.price { font: 700 18px/1.2 var(--serif); color: var(--green); }

/* Fiche du bois (une seule, large) */
.product { display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 20px); }
.product-img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.product-body { display: flex; flex-direction: column; padding: 40px; }
.product-body h3 { font-size: 30px; }
.product-body p { color: var(--muted); font-size: 18px; }
.ticks-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 20px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service { padding: 34px 30px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); scroll-margin-top: calc(var(--header-h) + 20px); }
.service-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--orange); color: #fff; margin-bottom: 18px; }
.service-ico svg { width: 34px; height: 34px; }
.service p { margin: 0; color: #c9d6cc; }

/* À propos */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.about-text p { font-size: 18px; color: #33322e; }
.about-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

/* Commande */
.form {
  max-width: 900px; margin: 0 auto; padding: 36px; border-radius: 24px; background: #fff; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; color: var(--green); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font: 400 16px/1.4 var(--sans); color: var(--ink); background: #fffdfa;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(232, 113, 28, .15); }
.field .invalid { border-color: #c0392b; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.form-error, .form-done { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: 12px; }
.form-error { background: #fdecea; color: #8c2318; font-weight: 500; }
.form-done { background: #e8f2ea; color: var(--green); font-weight: 500; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: stretch; }
.contact-info p { font-size: 18px; color: var(--muted); }
.contact-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: #fff; border-radius: 14px; box-shadow: 0 4px 14px rgba(0, 0, 0, .05); }
.c-ico { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--green); color: #fff; }
.c-ico svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: 13px; color: var(--muted); }
.contact-list a { font-weight: 600; font-size: 18px; color: var(--green); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--orange-dark); }
.contact-map { min-height: 360px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.contact-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* Pied de page */
.footer { background: #17291f; color: #c9d6cc; padding: 50px 0 24px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; align-items: center; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { display: block; font: 800 28px/1 var(--serif); color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer-contact { display: flex; flex-direction: column; gap: 4px; font-weight: 600; color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; font-size: 14px; }

/* ===== Tablette ===== */
@media (max-width: 1100px) {
  :root { --header-h: 76px; }
  .brand img { width: 52px; }
  .brand-name { font-size: 34px; }
  .brand-sub { font-size: 13px; }
  .burger { display: block; }
  .nav {
    position: fixed; top: var(--header-h); right: 0; bottom: 0; width: min(380px, 100%);
    flex-direction: column; align-items: stretch; gap: 18px; padding: 20px 16px 30px;
    background: var(--cream); box-shadow: -10px 0 30px rgba(0, 0, 0, .15); overflow-y: auto;
    transform: translateX(105%); transition: transform .25s ease;
  }
  .nav.open { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 10px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .sub { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 4px 0 8px 12px; }
  .has-sub.open .sub { display: block; }
  .btn-order { width: 100%; }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .features-inner { grid-template-columns: repeat(2, 1fr); }
  .feature { justify-content: flex-start; }
  .feature + .feature { border-left: 0; }
  .feature:nth-child(even) { border-left: 2px solid #b7ad9f; }
  .feature:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .cards, .services { grid-template-columns: 1fr 1fr; }
  .about-inner, .contact { grid-template-columns: 1fr; gap: 36px; }
  .product { grid-template-columns: 1fr; }
  .product-img img { min-height: 0; aspect-ratio: 16 / 9; }
}
body.menu-open { overflow: hidden; }

/* ===== Téléphone ===== */
@media (max-width: 680px) {
  body { font-size: 16px; }
  .brand { gap: 8px; }
  .brand img { width: 44px; }
  .brand-name { font-size: 29px; }
  .brand-sub { font-size: 12px; gap: 5px; }
  .brand-sub::before, .brand-sub::after { width: 12px; }
  .hero { min-height: 0; }
  .hero::after { background: linear-gradient(180deg, rgba(20, 13, 7, .55) 0%, rgba(20, 13, 7, .85) 100%); }
  .hero-fire { width: 100%; opacity: .55; -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 85%); mask-image: linear-gradient(180deg, #000 0, transparent 85%); }
  .hero-inner { padding: 56px 0 50px; }
  .hero-actions .btn { width: 100%; }
  .features-inner { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(even) { border-left: 0; padding: 18px 4px; }
  .feature + .feature { border-top: 1px solid var(--line); }
  .why { padding: 54px 0 70px; }
  .why-products { gap: 12px; }
  .round img { border-width: 4px; }
  .round span { padding: 5px 12px; font-size: 15px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .cards, .services { grid-template-columns: 1fr; }
  .product-body { padding: 24px 18px; }
  .product-body h3 { font-size: 25px; }
  .ticks-2 { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 22px 16px; border-radius: 18px; }
  .form-actions .btn { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ===== Page des mentions légales ===== */
.legal { max-width: 820px; padding: 60px 0 80px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); }
.legal h2 { font-size: 24px; margin-top: 36px; }
.legal p, .legal li { color: #33322e; }
.legal .fill { background: #fff3e3; padding: 0 6px; border-radius: 4px; color: var(--orange-dark); font-weight: 600; }
.legal a { color: var(--green); font-weight: 600; }
.credits li { margin: 8px 0; }
.back { margin-bottom: 30px; }

.notfound { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 80vh; justify-content: center; }
