/* Sauvage Fishing — site vitrine.
   Charte reprise de la maquette Figma « M. Sauvage » et du logo :
   rouge et noir du logo (Logo sauvage fishing.png), fond blanc, sections en
   gris très clair, titres en capitales grasses sur deux lignes, pied rouge.
   La police de la maquette n'est pas encore connue : pile système sans-serif. */
:root {
  --red: #b03111;      /* rouge du logo */
  --black: #181817;    /* noir du logo */
  --white: #ffffff;
  --grey-bg: #f8f8f8;  /* fond des sections grises de la maquette */
  --muted: rgba(24, 24, 23, .7);
  --line: rgba(24, 24, 23, .12);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--black); font: 16px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--black); }
h1, h2, h3 { line-height: 1.15; color: var(--black); font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin: .2em 0 .45em; text-transform: uppercase; letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); margin: 1.8em 0 .5em; }
h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; }
p, ul, ol { margin: 0 0 1em; }
strong { font-weight: 700; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px; z-index: 10; }

/* Barre de contact */
.topbar { border-bottom: 1px solid var(--line); font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; flex-wrap: wrap; }
.topbar a { color: var(--black); text-decoration: none; }
.topbar a:hover { color: var(--red); }
.topbar ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }

/* En-tête : logo puis menu en capitales */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 12px; padding-bottom: 12px; }
.brand img { height: 72px; width: auto; }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; }
.menu a { color: var(--black); text-decoration: none; text-transform: uppercase; font-size: .85rem; font-weight: 500; letter-spacing: .02em; }
.menu a:hover, .menu a[aria-current] { color: var(--red); }

/* Bandeau d'ouverture, sur le modèle « Boutique de pêche à Rennes & en ligne ! » */
.tagline { text-align: center; font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: var(--red); margin: 0; padding: 26px 16px; }
.tagline strong { font-weight: 700; }

/* Fil d'Ariane */
.crumbs ol { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .8rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs li + li::before { content: "›"; margin: 0 6px; }

/* Titres de section sur deux lignes (maquette : « NOTRE SÉLECTION / BLACK WEEK ») */
.title { text-align: center; text-transform: uppercase; margin: 0 0 32px; }
.title .kicker { display: block; font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 400; color: var(--black); letter-spacing: 0; }
.title .main { display: block; font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.05; }
.title .sub { display: block; font-size: .8rem; color: var(--muted); margin-top: 6px; }
.eyebrow { text-transform: uppercase; font-size: .85rem; font-weight: 400; margin-bottom: .4em; color: var(--black); }

/* Héros : photo pleine largeur, texte blanc en capitales */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--black); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,.15)); }
.hero .wrap { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; min-height: 440px; display: flex; flex-direction: column; justify-content: center; }
.hero-text { max-width: 620px; }
.hero h1 { color: #fff; font-weight: 500; }
.hero p { color: #fff; font-size: 1.05rem; }
.hero .eyebrow { color: #fff; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 12px 20px; text-decoration: none; background: var(--red); color: #fff; font-weight: 500; margin: 4px 8px 4px 0; border: 1px solid var(--red); }
.btn::after { content: "⟶"; }
.btn:hover { background: var(--black); border-color: var(--black); color: #fff; }
.btn.ghost { background: rgba(255,255,255,.18); border-color: transparent; color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.3); }
.btn.line { background: transparent; color: var(--black); border-color: var(--black); }
.btn.line:hover { background: var(--black); color: #fff; }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: var(--grey-bg); }
.lead { font-size: 1.1rem; color: var(--black); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Cartes */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card .more { margin-top: auto; font-weight: 500; color: var(--red); }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--red); }

/* Tuiles photo (maquette : « Choisissez votre terrain de jeu ») */
.tiles { display: grid; gap: 4px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; color: #fff; text-decoration: none; background: var(--black); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .2s; }
.tile:hover img { opacity: .6; }
.tile span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 1.5rem; padding: 16px; }
.tile span::after { content: "⟶"; font-size: 1.6rem; margin-top: 18px; }
.tile:hover { color: #fff; }

/* Chiffres clés (maquette : tuiles de réassurance) */
.facts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 0 0 8px; }
.fact { background: var(--black); color: #fff; padding: 26px 18px; text-align: center; }
.fact strong { display: block; font-size: 1.45rem; font-weight: 500; line-height: 1.2; margin-bottom: 6px; }
.fact span { font-size: .85rem; }

/* Équipe */
.team { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.member { background: var(--white); border: 1px solid var(--line); }
.member img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.member div { padding: 16px 18px 18px; }
.member h2, .member h3 { margin: 0 0 2px; font-size: 1.15rem; }
.member .role { color: var(--red); font-weight: 500; font-size: .9rem; margin-bottom: .5em; }

/* Article */
.article { padding: 8px 0 56px; }
.byline { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--muted); }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.answer { background: var(--grey-bg); border-left: 3px solid var(--red); padding: 16px 20px; margin: 20px 0 28px; }
.answer p:last-child { margin-bottom: 0; }
.answer-label { font-weight: 700; text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; color: var(--red); margin-bottom: .3em; }
.note { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 32px; }
figure { margin: 28px 0; }
figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
table { border-collapse: collapse; width: 100%; margin: 16px 0 24px; font-size: .95rem; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--grey-bg); }
.table-scroll { overflow-x: auto; }

/* FAQ */
details.faq { border: 1px solid var(--line); margin: 10px 0; background: var(--white); }
details.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; }
details.faq summary:hover { color: var(--red); }
details.faq > div { padding: 0 18px 6px; }
details.faq[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }

/* Marques */
.logos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); padding: 0; }
.logos li { list-style: none; background: #fff; border: 1px solid var(--line); padding: 14px; display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; }
.logos img { max-height: 64px; width: auto; object-fit: contain; }
.brand-logo { border: 1px solid var(--line); padding: 20px; max-width: 280px; background: #fff; }
.tag { display: inline-block; background: var(--red); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; }

/* Pied de page rouge (maquette) */
.site-footer { background: var(--red); color: #fff; font-size: .92rem; padding-top: 44px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.3); }
.footer-title { font-weight: 600; margin-bottom: .6em; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: .3em; }
.site-footer address { font-style: normal; margin-bottom: 1em; }
.pill { display: inline-block; border: 1px solid #fff; border-radius: 999px; padding: 6px 18px; text-decoration: none; font-weight: 600; margin-bottom: 10px; }
.footer-legal { padding-top: 18px; padding-bottom: 22px; text-align: center; font-size: .78rem; }
.footer-legal p { margin: 0; }

/* Bandeau sombre : photo produit (fond noir) fondue dans le noir, titre blanc */
.banner { position: relative; background: #000; color: #fff; overflow: hidden; }
.banner > img { position: absolute; top: 0; right: 0; height: 100%; width: 62%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); }
.banner .wrap { position: relative; min-height: 380px; display: flex; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.banner-text { max-width: 46%; }
.banner h1 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
.banner h1 { color: #fff; font-weight: 600; margin: .15em 0 .35em; }
.banner .eyebrow { color: rgba(255,255,255,.75); }
.banner-lead { color: rgba(255,255,255,.85); font-size: 1.1rem; margin: 0; }
/* Bandeau d'accueil et de la page guidage : plus haut, photo moins recadrée */
.banner.big .wrap { min-height: 520px; }
.banner.big .banner-text { max-width: 44%; }
.banner.big .banner-lead { margin-bottom: 1.2em; }
@media (max-width: 760px) {
  .banner-text { max-width: none; }
  .banner > img { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 9; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 30%); mask-image: linear-gradient(0deg, transparent 0, #000 30%); }
  .banner .wrap { min-height: 0; padding-top: 0; margin-top: -40px; }
  .banner.big .wrap { min-height: 0; }
  .banner.big .banner-text { max-width: none; }
}

/* Galerie produits de l'accueil : fond noir continu avec les photos */
.section.dark { background: #000; color: #fff; padding: 72px 0; }
.section.dark .title, .section.dark .title .kicker { color: #fff; }
.section.dark .title .kicker { color: rgba(255,255,255,.7); }
.gallery { display: grid; gap: 28px 16px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { margin: 0; }
.gallery .frame { overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { margin-top: 10px; color: rgba(255,255,255,.85); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }

/* Texte et photo côte à côte */
.media { display: grid; gap: 28px; align-items: center; margin: 1.8em 0; }
.media img { width: 100%; }
.media h2 { margin-top: 0; }
@media (min-width: 860px) { .media { grid-template-columns: 1fr 320px; } }
