/* ============================================================
   LA TRINITAINE – Landing Page
   Typo : Lora (Google Fonts)
   ============================================================ */

/* ----- Reset ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ----- Variables ----- */
:root {
  --red: #c41230;
  --orange: #c47a35;
  --gold: #c9a04a;
  --text: #2c2c2c;
}

/* ----- Base ----- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lora", Georgia, serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}

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

a {
  color: inherit;
}
.red {
  color: var(--red);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  background: #fff;
}

/* Ligne épaisse rouge passant derrière le logo */
.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 8px;
  background: var(--red);
}

.header-logo {
  position: relative;
  z-index: 1;
  width: 210px;
  max-width: 70vw;
}

/* ============================================================
   SECTION FAÇADE
   ============================================================ */
.facade-section {
  position: relative;
  max-width: 1200px;
  margin: 24px auto 0;
  /* Proportions 3:2 fidèles à l'image source (1536×1024) */
  aspect-ratio: 3 / 2;
  background-image: url("assets/facade.jpg");
  background-size: cover;
  background-position: center;
}

/* Cachée sur desktop – le background gère l'image */
.facade-img {
  display: none;
}

/* Caché sur desktop : le texte est dans l'image de façade */
.facade-panel {
  display: none;
}

/* ---- Entête de marque dans le panel ---- */
.facade-brand {
  flex-shrink: 0;
  text-align: center;
  padding: clamp(5px, 1.4vw, 16px) 8px clamp(2px, 0.5vw, 6px);
  line-height: 1.1;
}

.facade-brand-sub {
  display: block;
  font-size: clamp(0.48rem, 1vw, 0.68rem);
  letter-spacing: 0.14em;
  font-weight: 400;
}

.facade-brand-name {
  display: block;
  font-size: clamp(1rem, 2.8vw, 1.6rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1;
}

/* ---- Bandeau rouge ---- */
.facade-banner {
  flex-shrink: 0;
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: clamp(3px, 0.6vw, 8px) 10px;
  font-size: clamp(0.48rem, 1vw, 0.7rem);
  letter-spacing: 0.06em;
  line-height: 1.3;
}

/* ---- Corps du message ---- */
.facade-content {
  flex: 1;
  overflow: hidden;
  padding: clamp(5px, 1.1vw, 14px) clamp(8px, 1.8vw, 22px);
  font-size: clamp(0.58rem, 1.35vw, 0.82rem);
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 0.8vw, 10px);
}

.facade-biscuit {
  text-align: center;
  flex-shrink: 0;
  margin-top: 20px;
  margin-bottom: 20px;
}

.facade-biscuit img {
  max-width: 52%;
  display: inline-block;
}

.facade-thanks {
  text-align: center;
  font-size: clamp(0.52rem, 1.2vw, 0.75rem);
}

.facade-kenavo {
  text-align: center;
  font-weight: 600;
  font-size: clamp(0.58rem, 1.35vw, 0.82rem);
}

/* ============================================================
   LIGNE SÉPARATRICE PLEINE LARGEUR
   ============================================================ */
.full-line {
  height: 2px;
  background: var(--red);
  margin-top: 24px;
}

/* ============================================================
   SECTION CONTACT
   ============================================================ */
.contact-section {
  padding: 28px 20px 32px;
  max-width: 820px;
  margin: 0 auto;
}
.contact-bloc {
  border: 2px solid var(--red);
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 20px;
  border-radius: 10px;
  background: #fffaf5;
}

.contact-intro {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
  color: var(--red);
  font-weight: 600;
}

.contact-items {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-item p {
  font-size: 0.98rem;
  line-height: 1.45;
}

.contact-item a {
  text-decoration: none;
}
.contact-item a:hover {
  text-decoration: underline;
}

.contact-extra {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 6px;
  margin-top: 20px;
  font-style: italic;
}

.contact-stores {
  text-align: center;
  color: var(--red);
  font-weight: 600;
  font-size: 0.95rem;
  font-style: italic;
}

/* ============================================================
   SECTION ATELIER
   ============================================================ */
.atelier-section {
  border-top: 1px solid #e0e0e0;
  padding-bottom: 48px;
}

.atelier-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.atelier-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--red);
  text-align: center;
  padding-top: 32px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.atelier-subtitle {
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  color: var(--red);
  font-style: italic;
  text-align: center;
  margin-bottom: 20px;
}

/* Strip photos */
.atelier-photos {
  overflow: hidden;
}

.atelier-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.atelier-photo-mobile {
  display: none;
  width: 100%;
  height: auto;
}

/* CTA badge + bouton */
.atelier-cta {
  display: flex;
  align-items: center;
  max-width: 620px;
  margin: 0 auto;
}

.price-badge {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin-right: -14px;
  box-shadow: 3px 0 12px rgba(0, 0, 0, 0.18);
  line-height: 1.1;
}

.price-amount {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
}

.price-label {
  display: block;
  font-size: 0.5rem;
  font-style: italic;
  text-align: center;
  line-height: 1.3;
}

.cta-btn {
  flex: 1;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 28px 22px 36px;
  font-family: "Lora", serif;
  font-size: clamp(0.85rem, 1.8vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.cta-btn:hover {
  background: #a21029;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid #e0e0e0;
  padding: 24px 16px 32px;
}
.footer-infos {
  margin-bottom: 20px;
}
.footer-infos-title {
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
  text-align: center;
  padding-top: 32px;
  margin-bottom: 8px;
  line-height: 1.2;
}
.footer-infos-adresse {
  font-size: 0.8rem;
  color: black;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  text-decoration: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.social-link svg {
  width: 40px;
  height: 40px;
}

.social-link:hover {
  opacity: 0.75;
  transform: translateY(-2px);
}

.social-facebook {
  color: #1877f2;
}
.social-instagram {
  color: #e1306c;
}
.social-linkedin {
  color: #0a66c2;
}

/* ============================================================
   RESPONSIVE – Tablette / Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Façade masquée sur mobile – panel affiché comme card simple */
  .facade-section {
    background: none;
    aspect-ratio: unset;
    margin: 0;
    padding: 0 16px;
  }

  .facade-img {
    display: none;
  }

  /* Panel visible sur mobile comme card autonome */
  .facade-panel {
    display: flex;
    flex-direction: column;
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    overflow: visible;
  }

  .facade-brand {
    padding: 16px 16px 6px;
  }
  .facade-brand-sub {
    font-size: 0.72rem;
  }
  .facade-brand-name {
    font-size: 1.7rem;
  }

  .facade-banner {
    font-size: 0.82rem;
    padding: 8px 14px;
    letter-spacing: 0.04em;
  }

  .facade-content {
    padding: 16px 20px 20px;
    font-size: 0.92rem;
    gap: 12px;
  }

  .facade-biscuit img {
    max-width: 250px;
  }
  .facade-thanks {
    font-size: 0.9rem;
  }
  .facade-kenavo {
    font-size: 1.05rem;
    margin-bottom: 6px;
  }

  /* Contact */
  .contact-intro {
    font-size: 0.92rem;
  }
  .contact-item p {
    font-size: 0.88rem;
  }
  .contact-extra,
  .contact-stores {
    font-size: 0.88rem;
  }
  .contact-extra {
    max-width: 300px;
    margin: auto;
  }

  /* Atelier */
  .atelier-photo {
    height: 200px;
    display: none;
  }
  .atelier-photo-mobile {
    display: block;
    width: 100%;
    height: auto;
  }
  .atelier-cta {
    margin: 0 20px;
  }
  .contact-items {
    flex-direction: column;
  }
}

/* ============================================================
   RESPONSIVE – Petit mobile (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .header-logo {
    width: 170px;
  }

  .contact-section {
    padding: 22px 16px 28px;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  /* CTA empilé */
  .atelier-cta {
    flex-direction: column;
    align-items: stretch;
    margin: 0;
  }

  .price-badge {
    width: 100%;
    height: 60px;
    border-radius: 0;
    flex-direction: row;
    gap: 10px;
    margin-right: 0;
    box-shadow: none;
  }

  .price-amount {
    font-size: 1.5rem;
  }
  .price-label {
    font-size: 0.65rem;
  }

  .cta-btn {
    padding: 18px 20px;
    font-size: 0.92rem;
    justify-content: center;
  }
  .contact-extra {
    max-width: 300px;
    margin: auto;
  }

  .social-link {
    width: 44px;
    height: 44px;
  }
  .social-link svg {
    width: 36px;
    height: 36px;
  }
  .contact-items {
    flex-direction: column;
  }
}
