/*
Theme Name: Life Addict
Theme URI: https://lifeaddict.fr
Author: Frédéric Roger – Amine
Description: Thème personnalisé Life Addict – Hypnose Ericksonienne
Version: 1.1
Text Domain: lifeaddict
*/

/* ===============================
   RESET SIMPLE
================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}
/* 3 encarts sur une ligne (desktop) */
.cards-3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* Mobile / tablette : on repasse en pile */
@media (max-width: 900px){
  .cards-3{
    grid-template-columns: 1fr;
  }
}

/* Optionnel : si tu veux que les cartes soient bien "pleines" */
.cards-3 .card{
  height: 100%;
}


/* ===============================
   BASE STYLE
================================ */

body {
    min-height: 100vh;
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #f5f5f5;

    background: #020509 url("https://lifeaddict.fr/wp-content/uploads/2025/11/fond-lifeaddict-bg.jpg")
        no-repeat center center fixed;
    background-size: cover;
}

a {
    color: #d2a86b;
    text-decoration: none;
    transition: 0.2s ease;
}

a:hover {
    color: #f8e1b2;
}

img {
    max-width: 100%;
    display: block;
}

/* ===============================
   TYPOGRAPHIE
================================ */

h1, h2, h3, h4, h5 {
    font-family: "Playfair Display", serif;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 0.75em;
}

h1 { font-size: 2.4rem; letter-spacing: 0.04em; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }

/* ===============================
   LAYOUT
================================ */

.container {
    width: min(1100px, 100% - 40px);
    margin: auto;
}

main {
    padding: 40px 0 80px;
}

/* ===============================
   HEADER
================================ */

header {
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo img {
    height: 80px;
}

.logo-text {
    font-family: "Playfair Display", serif;
    font-size: 1.6rem;
    color: #f7f2ea;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ===============================
   NAVIGATION
================================ */

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    color: #e9e3d8;
}

nav a:hover,
nav li.active a {
    border-bottom-color: #d2a86b;
    color: #fff;
}

/* ===============================
   SECTIONS & BLOCS
================================ */

.section {
    padding: 40px 0;
}

.card {
    background: rgba(4, 10, 16, 0.55);
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.07);
}

/* ===============================
   LISTES “âÂÂ”
================================ */

.list-check {
    list-style: none;
    padding: 0;
}

.list-check li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 0.4em;
}

.list-check li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #d2a86b;
}

/* ===============================
   BOUTONS
================================ */

.btn,
.button {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid #d2a86b;
    background-color: rgba(0,0,0,0.35);
    color: #fdf7ee;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: 0.2s ease;
}

.btn:hover {
    background-color: #d2a86b;
    color: #050506;
}

/* ===============================
   FORMULAIRE (GLOBAL)
================================ */

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 12px;
    border: 1px solid rgba(210,168,107,0.4);
    background: rgba(0,0,0,0.35);
    color: #f5f5f5;
    font-size: 1rem;
    outline: none;
    transition: 0.25s ease;
}

input:focus,
textarea:focus {
    border-color: #d2a86b;
    background-color: rgba(0,0,0,0.65);
    box-shadow: 0 0 0 2px rgba(210,168,107,0.38);
}

.box label {
    color: #f5e9d6;
    font-size: 0.9rem;
}

/* CARD DU FORMULAIRE */
.box {
    background: rgba(4,10,16,0.55);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.55);
    border: 1px solid rgba(210,168,107,0.25);
}

/* ===============================
   PAGE CONTACT – LAYOUT
================================ */

.section-dark {
    padding: 40px 0 70px;
}

.two-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
}

.section-subtitle {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #d2a86b;
    font-size: 0.85rem;
}

.section-title {
    margin-bottom: 0.9rem;
}

/* ===============================
   FOOTER
================================ */

.site-footer {
    padding: 24px 0 26px;
    background: rgba(0,0,0,0.75);
    font-size: 0.85rem;
    color: #cfc9be;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.site-footer .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
    .two-columns {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-wrap: wrap;
        row-gap: 8px;
    }
}

@media (max-width: 600px) {

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }

    .logo img { height: 60px; }
    .logo-text { font-size: 1.3rem; }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    main { padding: 24px 0 48px; }

    .card { padding: 18px; }

    .site-footer .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Désactivation du fixed sur mobile */
@media (max-width: 768px) {
    body { background-attachment: scroll; }
}
/* === HEADER / NAV RELOOKÉS === */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 24, 28, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 162, 90, 0.25);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.6rem 0;
}

/* LOGO + TEXTE MARQUE */

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #f5e9d6;
}

.brand-logo {
  height: 50px;
  width: auto;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* NAV */

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
}

.main-nav li {
  margin: 0;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f5e9d6;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover {
  background: rgba(212, 162, 90, 0.14);
  border-color: rgba(212, 162, 90, 0.7);
}

.main-nav li.active a {
  background: linear-gradient(135deg, #d4a25a, #f0c878);
  color: #042026;
  border-color: transparent;
  font-weight: 600;
}

/* RESPONSIVE HEADER */

@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    width: 100%;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: 0.4rem;
  }

  .main-nav a {
    font-size: 0.75rem;
    padding: 0.35rem 0.8rem;
  }
}


/* ===============================
   FIX WP MENU + HEADER PADDING
================================ */

/* Le header générique met padding:20px sur tous les <header>.
   On neutralise pour le header sticky du thème. */
.site-header {
  padding: 0;
}

/* Etats actifs WordPress (remplace/complète .active) */
nav .current-menu-item > a,
nav .current_page_item > a,
nav .current-menu-ancestor > a {
  border-bottom-color: #d2a86b;
  color: #fff;
}

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a {
  background: linear-gradient(135deg, #d4a25a, #f0c878);
  color: #042026;
  border-color: transparent;
  font-weight: 600;
}
