/* =========================================================
   PATOUNES & COMPAGNIE — Feuille de styles principale
   =========================================================
   POUR CHANGER LE THÈME : modifiez uniquement les variables
   ci-dessous dans :root. Tout le site s'adaptera automatiquement.
   Plusieurs thèmes prêts à l'emploi sont disponibles dans
   /css/themes.css — il suffit de copier-coller le bloc voulu
   à la place de celui-ci.
   ========================================================= */

:root {
  /* === COULEURS PRINCIPALES (modifiez ici pour changer le thème) === */
  --color-bg:          #faf6f0;   /* fond crème chaud */
  --color-surface:     #ffffff;   /* fond des cartes */
  --color-text:        #2a201a;   /* texte principal */
  --color-text-soft:   #6b5e54;   /* texte secondaire */
  --color-primary:     #c2410c;   /* terracotta — accent principal */
  --color-primary-dk:  #9a330a;   /* terracotta foncé — hover */
  --color-accent:      #4a7c59;   /* vert mousse — accent secondaire */
  --color-border:      #e9e1d6;   /* bordures discrètes */
  --color-shadow:      rgba(60, 40, 25, 0.08);

  /* === TYPOGRAPHIE === */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  /* === RAYONS & ESPACEMENTS === */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* === TRANSITIONS === */
  --t-fast: 0.15s ease;
  --t-med:  0.3s ease;
}

/* === RESET DOUX === */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* === TYPOGRAPHIE === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-text);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === CONTENEUR === */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.1rem;
}
.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-list a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-soft);
  transition: color var(--t-fast);
  position: relative;
}
.nav-list a:hover, .nav-list a.active { color: var(--color-primary); }
.nav-list a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--color-text);
}

/* =========================================================
   BOUTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--t-med);
  cursor: pointer;
}
.btn-primary {
  background: var(--color-primary);
  color: white;
}
.btn-primary:hover {
  background: var(--color-primary-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--color-shadow);
}
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn-outline:hover { border-color: var(--color-text); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content h1 {
  margin-bottom: 1.5rem;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--color-primary);
  font-weight: 400;
}
.hero-content p {
  font-size: 1.15rem;
  color: var(--color-text-soft);
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  overflow: hidden;
  box-shadow: 0 30px 60px var(--color-shadow);
}
.hero-visual::after {
  content: '🐕';
  position: absolute;
  font-size: 14rem;
  bottom: -2rem;
  right: -1rem;
  opacity: 0.95;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
}
.hero-badge {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: rgba(255,255,255,0.95);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
}

/* === BANDEAU CONFIANCE === */
.trust-strip {
  background: var(--color-text);
  color: var(--color-bg);
  padding: 1.2rem 0;
}
.trust-strip-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  text-align: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* =========================================================
   SECTIONS
   ========================================================= */
section { padding: 5rem 0; }
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-header p {
  color: var(--color-text-soft);
  margin-top: 0.8rem;
}

/* === GRILLE DE CATÉGORIES === */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.category-card {
  background: var(--color-surface);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--t-med);
  border: 1px solid var(--color-border);
  cursor: pointer;
  display: block;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px var(--color-shadow);
  border-color: var(--color-primary);
}
.category-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: block;
}
.category-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.category-card p {
  font-size: 0.88rem;
  color: var(--color-text-soft);
}

/* === GRILLE DE PRODUITS === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--t-med);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px var(--color-shadow);
}
.product-image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-border) 100%);
  display: grid;
  place-items: center;
  font-size: 5rem;
  position: relative;
}
.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-primary);
  color: white;
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.product-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.product-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.product-desc {
  color: var(--color-text-soft);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  flex: 1;
}
.product-stars {
  color: #f59e0b;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.product-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.product-price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-text);
}
.product-price s { color: var(--color-text-soft); font-weight: 400; font-size: 0.9rem; margin-right: 0.4rem; }
.amazon-btn {
  background: var(--color-primary);
  color: white;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--t-fast);
}
.amazon-btn:hover { background: var(--color-primary-dk); }

/* =========================================================
   POURQUOI NOUS
   ========================================================= */
.alt-bg { background: var(--color-surface); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.feature {
  text-align: center;
  padding: 1.5rem;
}
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--color-bg);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  border: 1.5px solid var(--color-border);
}
.feature h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.feature p { color: var(--color-text-soft); font-size: 0.95rem; }

/* =========================================================
   NEWSLETTER / CTA FINAL
   ========================================================= */
.cta-section {
  background: var(--color-text);
  color: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  margin: 4rem auto;
  max-width: 1180px;
  position: relative;
  overflow: hidden;
}
.cta-section h2 { color: var(--color-bg); margin-bottom: 1rem; }
.cta-section p { opacity: 0.8; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-section::before {
  content: '🐾';
  position: absolute;
  font-size: 12rem;
  opacity: 0.04;
  top: -2rem;
  right: -2rem;
}
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.9rem 1.3rem;
  border-radius: var(--radius-pill);
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
}

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.site-footer {
  background: var(--color-surface);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--color-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-soft);
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  color: var(--color-text);
  font-size: 0.95rem;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--color-primary); }
.footer-tagline {
  color: var(--color-text-soft);
  margin-top: 1rem;
  font-size: 0.95rem;
}
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

/* =========================================================
   PAGES INTÉRIEURES (à propos, contact, etc.)
   ========================================================= */
.page-header {
  padding: 4rem 0 2rem;
  text-align: center;
}
.page-header p {
  color: var(--color-text-soft);
  font-size: 1.1rem;
  margin-top: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.content-prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}
.content-prose h2 { margin: 2.5rem 0 1rem; }
.content-prose h3 { margin: 2rem 0 0.8rem; font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; }
.content-prose p, .content-prose li { color: var(--color-text-soft); margin-bottom: 1rem; line-height: 1.8; }
.content-prose ul, .content-prose ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.content-prose strong { color: var(--color-text); }
.content-prose a { color: var(--color-primary); text-decoration: underline; }

/* === FORMULAIRE CONTACT === */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
}
.form-row {
  display: grid;
  gap: 0.4rem;
}
.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}
.form-row input,
.form-row textarea {
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color var(--t-fast);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-row textarea { resize: vertical; min-height: 140px; }

/* === BANNIÈRE AMAZON (transparence) === */
.amazon-disclosure {
  background: var(--color-bg);
  border: 1px dashed var(--color-border);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--color-text-soft);
  margin: 1.5rem auto;
  max-width: 900px;
  text-align: center;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero { padding: 3rem 0 4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-list.open { display: flex; }
  .menu-toggle { display: block; }
  .site-header { position: relative; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 3rem 0; }
  .cta-section { padding: 3rem 1.5rem; margin: 2rem 1rem; }
}

/* === ANIMATIONS LÉGÈRES === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content > * { animation: fadeUp 0.8s ease backwards; }
.hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-content > *:nth-child(2) { animation-delay: 0.15s; }
.hero-content > *:nth-child(3) { animation-delay: 0.25s; }
.hero-content > *:nth-child(4) { animation-delay: 0.35s; }
.hero-visual { animation: fadeUp 1s ease 0.3s backwards; }
