:root {
  /* Palette tropicale claire */
  --color-bg: #f9fafb;
  --color-bg-alt: #ecfeff;          /* bleu lagon très pâle */
  --color-surface: #ffffff;
  --color-surface-alt: #fffbeb;     /* sable doux */
  --color-card: #ffffff;

  --color-primary: #0ea5e9;         /* bleu lagon */
  --color-primary-soft: #e0f2fe;
  --color-secondary: #f97316;       /* sunset orange */
  --color-accent: #22c55e;          /* vert tropical */

  --color-text: #0f172a;
  --color-muted: #64748b;
  --color-border: #e2e8f0;

  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --container-width: 1120px;
}

/* Reset léger */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #e0f2fe 0, #f9fafb 45%, #fffbeb 100%);
  color: var(--color-text);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Utilitaires */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-inline: 1.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main {
  flex: 1;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: radial-gradient(circle at top left, #e0f2fe 0, rgba(255, 255, 255, 0.98) 40%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  width: 96px;
  height: 96px;
}

@media (max-width: 1024px) {
  .brand-logo {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 768px) {
  .brand-logo {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    width: 40px;
    height: 40px;
  }
}


.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: conic-gradient(
    from 200deg,
    #0ea5e9 0deg,
    #22c55e 120deg,
    #f97316 230deg,
    #0ea5e9 360deg
  );
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.16);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 55% -35% -35% -10%;
  background: linear-gradient(to right, rgba(248, 250, 252, 0.2), rgba(15, 23, 42, 0.3));
  transform: skewY(-14deg);
}

.brand-text-main {
  font-family: "Pacifico", cursive;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: #0f172a;
}

.brand-text-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--color-muted);
  letter-spacing: 0.18em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.nav-link {
  position: relative;
  color: var(--color-muted);
  padding-block: 0.2rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 999px;
  transition: width 0.22s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #0f172a;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: 100%;
}

.nav-link-blog {
  background: #00e0b8;
  color: #ffffff;
  padding: 0.35rem 1rem;
  border-radius: 999px;
}

.nav-link-blog:hover {
  background: #00c9a4;
  text-decoration: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Boutons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: #f9fafb;
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(14, 165, 233, 0.45);
}

.btn-secondary {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5f5;
}

.btn-secondary:hover {
  transform: translateY(-1px);
  background: #e0f2fe;
}

.btn-icon {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  font-size: 0.9rem;
}

/* Menu mobile */

.menu-toggle {
  display: none;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #e0f2fe;
  padding: 0.35rem 0.75rem;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #0f172a;
}

.menu-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #0f172a;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #0f172a;
}

.menu-toggle span::before {
  top: -5px;
}

.menu-toggle span::after {
  top: 5px;
}

/* Hero */

.hero {
  position: relative;
  padding: 3.4rem 0 4.2rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  gap: 3.2rem;
  align-items: center;
}

.hero-copy-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.hero-copy-eyebrow::before {
  content: "";
  display: inline-block;
  width: 2.4rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary));
}

.hero-title {
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0 0 1rem;
  color: #0f172a;
}

.hero-highlight {
  background-image: linear-gradient(90deg, #0ea5e9, #22c55e, #f97316);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--color-muted);
  max-width: 34rem;
  margin-bottom: 1.6rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1.4rem;
}

.hero-secondary-text {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.hero-kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin-top: 1.4rem;
  font-size: 0.82rem;
}

.hero-kpi-item span:first-child {
  display: block;
  font-weight: 600;
  font-size: 1.05rem;
  color: #0f172a;
}

.hero-visual {
  position: relative;
}

.hero-card-main {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 1.35rem 1.45rem 1.5rem;
  background: radial-gradient(circle at 10% 0, #e0f2fe, #f9fafb);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
  border: 1px solid #bae6fd;
}

.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0, rgba(14, 165, 233, 0.2), transparent 50%);
  z-index: -1;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  gap: 1rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: #0f172a;
  color: #e0f2fe;
}

.badge-small {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  font-size: 0.7rem;
  color: #0f172a;
}

.hero-card-title {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.hero-card-sub {
  font-size: 0.86rem;
  color: var(--color-muted);
  margin: 0 0 1rem;
}

.hero-card-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.78rem;
}

.hero-card-kpis span:first-child {
  font-weight: 600;
  font-size: 0.92rem;
  color: #0f172a;
}

.hero-floating-card {
  position: absolute;
  right: 0.5rem;
  bottom: -1.3rem;
  transform: translateY(-6%);
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.2);
  font-size: 0.82rem;
  max-width: 220px;
}

/* Sections génériques */

.section {
  padding: 3.5rem 0 3.6rem;
}

.section-alt {
  background: radial-gradient(circle at top left, #fefce8 0, #ecfeff 40%, #f9fafb 100%);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}

.section-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-muted);
}

.section-title {
  font-size: 1.7rem;
  margin: 0;
  color: #0f172a;
}

.section-description {
  font-size: 0.96rem;
  color: var(--color-muted);
  max-width: 38rem;
}

/* Pills / tags */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

.pill {
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  border: 1px solid #e2e8f0;
  background: #f9fafb;
  color: var(--color-muted);
}

/* Grilles & cartes */

.grid-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  background: var(--color-card);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 0.9rem;
  background: radial-gradient(circle at 30% 0, #f97316, #fde68a);
  color: #0f172a;
}

.feature-title {
  font-size: 1rem;
  margin-bottom: 0.45rem;
  color: #0f172a;
}

.feature-text {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Cards articles */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-soft);
}

.post-thumb-wrapper {
  position: relative;
  overflow: hidden;
  max-height: 190px;
}

.post-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-thumb-wrapper img {
  transform: scale(1.05);
}

.post-body {
  padding: 1.1rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.post-meta {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.post-title {
  font-size: 1rem;
  margin: 0;
  color: #0f172a;
}

.post-excerpt {
  font-size: 0.88rem;
  color: var(--color-muted);
}

.post-more {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--color-primary);
}

.posts-placeholder {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Newsletter */

.newsletter {
  border-radius: var(--radius-xl);
  padding: 1.8rem 1.8rem 1.7rem;
  background: radial-gradient(circle at 10% 0, #e0f2fe, #fffbeb);
  border: 1px solid #bae6fd;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.newsletter-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.newsletter-text {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.field {
  position: relative;
  flex: 1 1 180px;
}

.field input[type="email"] {
  width: 100%;
  border-radius: var(--radius-pill);
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--color-text);
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}

.field input::placeholder {
  color: #94a3b8;
}

.newsletter-note {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid #e2e8f0;
  padding: 2.5rem 0 2.2rem;
  background: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer-brand-text {
  margin-top: 0.7rem;
  max-width: 19rem;
}

.footer-column-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.9rem;
  color: #0f172a;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-bottom {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--color-muted);
}

/* Contenu article / page */

.article-shell {
  padding: 3rem 0 3.5rem;
}

.article-header {
  max-width: 720px;
  margin: 0 auto 2rem;
}

.article-title {
  font-size: 2rem;
  margin: 0 0 0.75rem;
  color: #0f172a;
}

.article-meta {
  font-size: 0.82rem;
  color: var(--color-muted);
}

.article-featured {
  max-width: 960px;
  margin: 0 auto 2rem;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.article-content {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #0f172a;
}

.article-content p {
  margin: 0 0 1.1rem;
}

.article-content h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.8rem;
}

.article-content h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.7rem;
}

.article-content ul,
.article-content ol {
  padding-left: 1.4rem;
  margin: 0 0 1.1rem;
}

.article-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--color-primary);
  background: #f1f5f9;
  border-radius: 0 14px 14px 0;
  color: #0f172a;
}

.article-content img {
  border-radius: 18px;
}

.article-error {
  max-width: 640px;
  margin: 3rem auto;
  padding: 1.5rem 1.8rem;
  border-radius: 20px;
  background: #fee2e2;
  color: #b91c1c;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .hero {
    padding-top: 2.6rem;
  }

  .grid-features,
  .posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding-inline: 1rem;
  }

  .main-nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    padding: 0.75rem 1rem 1rem;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    flex-direction: column;
    gap: 0.9rem;
  }

  .main-nav.nav-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding: 2.2rem 0 3.2rem;
  }

  .grid-features,
  .posts-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-floating-card {
    position: static;
    margin-top: 1rem;
  }
}
/* --- 🌴 ARTICLE MAGAZINE SIMPLE 80% WIDTH --- */

body {
  background: #f7f9fa; /* fond clair magazine */
}

/* Image de couverture (pleine largeur, effet magazine) */
.article-featured {
  width: 100%;
  max-height: 60vh;
  overflow: hidden;
  margin-bottom: 40px;
}

.article-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95);
  border-bottom: 3px solid #00a1c6;
}

/* Conteneur principal centré à 80% */
.article-container {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 60px 40px; /* au lieu de 40px 0 60px 0 */
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Titre et meta */
.article-title {
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: #0a243f;
  margin: 0 0 10px 0;
}

.article-meta {
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

/* Contenu */
.article-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1e293b;
  padding: 0 40px 40px 40px;
}

.article-content h2,
.article-content h3 {
  margin-top: 2rem;
  color: #0a243f;
}

.article-content p {
  margin: 1em 0;
}

.article-content ul,
.article-content ol {
  margin-left: 1.5em;
  padding-left: 1em;
}

.article-content a {
  color: #0084a8;
  text-decoration: underline;
  transition: color 0.2s;
}

.article-content a:hover {
  color: #005f7a;
}

/* Responsive : container 100% sur mobile */
@media (max-width: 900px) {
  .article-container {
    width: 95%;
    padding: 20px 0 40px 0;
  }

  .article-content {
    padding: 0 20px 30px 20px;
  }

  .article-title {
    font-size: 1.7rem;
  }
}
/* --- 🏄‍♂️ GRID DE CARTES POUR LES CATÉGORIES --- */

.grid-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  padding: 0 20px;
}

/* Structure d’une carte */
.post-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

/* Image */
.post-thumb-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Contenu */
.post-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.post-meta {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 8px;
}

.post-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0a243f;
  margin-bottom: 10px;
}

.post-title a {
  color: inherit;
  text-decoration: none;
}

.post-title a:hover {
  color: #0084a8;
}

.post-excerpt {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 15px;
}

.post-more {
  align-self: flex-start;
  font-size: 0.9rem;
  color: #00a1c6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.post-more:hover {
  color: #007b9a;
}

/* Responsive */
@media (max-width: 768px) {
  .grid-posts {
    grid-template-columns: 1fr;
  }

  .post-thumb-wrapper img {
    height: 180px;
  }
}
/* --- 🧭 BREADCRUMB --- */

.breadcrumb {
  width: 80%;
  max-width: 1200px;
  margin: 40px auto 20px auto;
  font-size: 0.95rem;
  color: #475569;
  font-family: "Poppins", sans-serif;
}

.breadcrumb a {
  color: #0084a8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #005f7a;
  text-decoration: underline;
}

.breadcrumb span {
  color: #0f172a;
  font-weight: 500;
}

@media (max-width: 900px) {
  .breadcrumb {
    width: 95%;
    font-size: 0.9rem;
  }
}
/* === HERO VIDEO BACKGROUND FINAL === */
.hero {
  position: relative;
  overflow: hidden;
  color: #fdfdfd;
  min-height: 90vh;
  display: flex;
  align-items: center;
  text-align: left;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: brightness(0.85) contrast(1.05) saturate(1.15);
  animation: videoFadeIn 2.5s ease forwards;
  z-index: 0;
}

@keyframes videoFadeIn {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.25)
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6rem 1.5rem;
}

.hero-copy {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
  color: #fdfdfd;
}

.hero-copy-eyebrow {
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  opacity: 1;
  color: #fdfdfd;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.25;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fdfdfd;
}

.hero-highlight {
  color: #00e0b8;
  font-family: "Pacifico", cursive;
  font-weight: 400;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: #fdfdfd;
}

/* === CTA Buttons === */
.hero-cta-row {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn {
  font-weight: 600;
  border-radius: 50px;
  padding: 1rem 2.2rem;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: #00e0b8;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 224, 184, 0.3);
}

.btn-primary:hover {
  background: #00bfa5;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 224, 184, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.2);
}

/* === RESPONSIVE MOBILE === */
@media (max-width: 1024px) {
  .hero-inner {
    padding: 4rem 1.5rem;
    justify-content: center;
    text-align: center;
  }

  .hero-copy {
    max-width: 90%;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .hero-cta-row {
    justify-content: center;
  }

  .btn {
    font-size: 1rem;
    padding: 0.9rem 1.8rem;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 80vh;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-copy-eyebrow {
    font-size: 0.85rem;
  }

  .btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 1rem;
  }

  .hero-cta-row {
    flex-direction: column;
    gap: 0.75rem;
  }
}
/* === FOOTER SIGNATURE === */
.footer-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: #6c757d;
  margin-top: 0.5rem;
  opacity: 0.9;
}

.footer-signature span {
  color: #6c757d;
}

.footer-signature a {
  color: #00bfa5;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-signature a:hover {
  color: #009f8c;
}

.footer-heart {
  width: 16px;
  height: 16px;
  stroke: #ff4d4f;
  fill: rgba(255, 77, 79, 0.8);
  margin: 0 4px;
  transform: scale(1);
  transition: transform 0.3s ease, fill 0.3s ease;
}

.footer-signature:hover .footer-heart {
  transform: scale(1.2);
  fill: #ff2f40;
}
/* ==========================================================
   🌴 AJOUTS CSS POUR LES NOUVELLES SECTIONS (par où commencer,
      guides populaires, PDF guide, destinations visuelles)
   ========================================================== */

/* === 1) GRID ARTICLES – Guides populaires === */

.grid-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.article-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.15);
}

.article-title {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
  color: var(--color-text);
}

.article-title a {
  color: inherit;
  text-decoration: none;
}

.article-title a:hover {
  color: var(--color-primary);
}

.article-excerpt {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}


/* === 2) GUIDE PDF SECTION === */

#guide-pdf .guide-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
}

#guide-pdf .guide-text {
  flex: 1 1 360px;
}

#guide-pdf .guide-image {
  flex: 1 1 320px;
}

#guide-pdf .guide-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}


/* === 3) DESTINATIONS VISUELLES – cartes "Polynésie style" version Surf === */

.destination-card {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 260px;
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: #fff;
  text-shadow: 0 3px 10px rgba(0,0,0,0.6);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.destination-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.1)
  );
  z-index: 0;
}

.destination-card h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
}

.destination-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 38px rgba(0,0,0,0.22);
}

.destination-card a {
  color: #fff;
  text-decoration: none;
}


/* === RESPONSIVE DESTINATIONS === */

@media (max-width: 768px) {
  .destination-card {
    min-height: 220px;
  }
}


/* === 4) Feature link (petit lien sous les cartes) === */

.feature-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.feature-link:hover {
  text-decoration: underline;
}


/* === 5) Petites corrections grid pour soutenir les nouvelles sections === */

#destinations .grid-features,
#commencer .grid-features {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}
.article-content ul {
  list-style-type: disc;
  margin-left: 1.5rem;
}

.article-content ol {
  list-style-type: decimal;
  margin-left: 1.5rem;
}

.article-content ul li,
.article-content ol li {
  margin-bottom: 0.4rem;
}
.article-content table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.article-content table th,
.article-content table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.article-content table th {
  background: #e0f2fe;
  font-weight: 600;
  text-align: left;
}

.article-content table tr:last-child td {
  border-bottom: none;
}
/* ========================= */
/* Menu mobile responsive    */
/* ========================= */

@media (max-width: 768px) {
  /* Nav fermée par défaut en mobile */
  .nav-links {
    position: absolute;
    top: 100%;
    right: 1.5rem;
    margin-top: 0.6rem;
    padding: 0.75rem 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    min-width: 190px;
    border-radius: 0.9rem;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
    transform-origin: top right;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 30;
  }

  /* Nav ouverte quand le JS ajoute .is-open */
  .nav-links.is-open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  /* Afficher le burger en mobile */
  .menu-toggle {
    display: inline-flex;
  }
}

/* ============ SKELETON LOADING ============ */

.skeleton {
  position: relative;
  overflow: hidden;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0) 100%
  );
  animation: skeleton-shine 1.4s infinite;
}

@keyframes skeleton-shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.skeleton-img {
  width: 100%;
  height: 160px;
  background: #e2e2e2;
  border-radius: 8px;
  margin-bottom: 12px;
}

.skeleton-title {
  width: 80%;
  height: 18px;
  background: #e2e2e2;
  border-radius: 6px;
  margin-bottom: 8px;
}

.skeleton-text {
  width: 100%;
  height: 14px;
  background: #e2e2e2;
  border-radius: 6px;
}

/* ============ "En cours de rédaction" sur index.html ============ */
.draft-label {
  color: #e60000;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 8px;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

