/*
Theme Name: Foncio
Theme URI: https://foncio.fr
Author: Foncio
Author URI: https://foncio.fr
Description: Réseau Foncier Off-Market Guyane — Thème WordPress pour Foncio
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: foncio
*/

/* ── VARIABLES GLOBALES ── */
:root {
  --vert:       #1a3a2a;
  --vert-2:     #243d2f;
  --vert-3:     #2f5040;
  --vert-clair: #3d6b52;
  --or:         #d4a843;
  --or-vif:     #e8bc55;
  --or-pale:    #f5e0a0;
  --creme:      #faf6ed;
  --creme-2:    #f0e8d5;
  --texte:      #1a2a1f;
  --texte-2:    #4a6355;
  --blanc:      #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* ── PAGE D'ACCUEIL — CHOIX ── */
.landing-page {
  background: var(--vert);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  color: var(--creme);
  position: relative;
  overflow: hidden;
}

.landing-page::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(212,168,67,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 5%  90%, rgba(212,168,67,0.08) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23f5f0e6' stroke-width='0.2' opacity='0.04'%3E%3Cellipse cx='30' cy='30' rx='28' ry='14'/%3E%3Cellipse cx='30' cy='30' rx='18' ry='9'/%3E%3Cellipse cx='30' cy='30' rx='8' ry='4'/%3E%3C/g%3E%3C/svg%3E") repeat;
  background-size: auto, auto, 60px 60px;
  pointer-events: none;
}

.landing-page * { position: relative; z-index: 1; }

/* NAV Landing */
.landing-nav {
  display: flex; align-items: center; justify-content: center;
  padding: 32px 64px;
}
.landing-logo {
  font-family: 'Fraunces', serif;
  font-size: 28px; font-weight: 900;
  color: var(--creme); letter-spacing: -0.5px;
  text-decoration: none;
}
.landing-logo span { color: var(--or); }

/* Contenu central */
.landing-content {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 48px 24px 80px;
  text-align: center;
}

.landing-tag {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 36px;
  animation: fadeUp 0.8s ease both;
}
.landing-tag-dot {
  width: 7px; height: 7px;
  background: var(--or); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.landing-tag-text {
  font-size: 10px; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--or); font-weight: 500;
}

.landing-h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 900; line-height: 1.0;
  color: var(--creme);
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease 0.1s both;
}
.landing-h1 em {
  font-style: italic; font-weight: 300;
  color: var(--or); display: block;
}

.landing-sub {
  font-size: 15px; line-height: 1.9;
  color: rgba(250,246,237,0.6);
  max-width: 480px; margin: 0 auto 64px;
  animation: fadeUp 0.8s ease 0.2s both;
}

/* Cartes de choix */
.landing-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px; width: 100%;
  animation: fadeUp 0.8s ease 0.3s both;
}

.choice-card {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.1);
  padding: 48px 40px;
  text-decoration: none;
  color: var(--creme);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  display: flex; flex-direction: column; align-items: flex-start;
  position: relative; overflow: hidden;
}
.choice-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--or), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.choice-card:hover {
  background: rgba(212,168,67,0.08);
  border-color: rgba(212,168,67,0.4);
  transform: translateY(-4px);
  color: var(--creme);
  text-decoration: none;
}
.choice-card:hover::after { transform: scaleX(1); }

.choice-card.or {
  background: var(--or);
  border-color: var(--or);
  color: var(--vert);
}
.choice-card.or:hover {
  background: var(--or-vif);
  border-color: var(--or-vif);
  color: var(--vert);
  transform: translateY(-4px);
}
.choice-card.or::after {
  background: linear-gradient(to right, var(--vert), transparent);
}

.choice-icon {
  font-size: 40px; margin-bottom: 20px;
  display: block;
}

.choice-label {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  opacity: 0.6; margin-bottom: 8px; font-weight: 500;
}
.choice-card.or .choice-label { color: rgba(26,58,42,0.6); }

.choice-title {
  font-family: 'Fraunces', serif;
  font-size: 22px; font-weight: 700;
  line-height: 1.2; margin-bottom: 12px;
}

.choice-desc {
  font-size: 13px; line-height: 1.75;
  opacity: 0.7; margin-bottom: 28px; flex: 1;
}
.choice-card.or .choice-desc { color: rgba(26,58,42,0.7); }

.choice-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600;
  color: var(--or);
}
.choice-card.or .choice-arrow { color: var(--vert); }

/* Footer Landing */
.landing-footer {
  text-align: center;
  padding: 24px;
  font-size: 11px;
  color: rgba(250,246,237,0.25);
  letter-spacing: 1px;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.7; }
}
@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* Responsive landing */
@media (max-width: 640px) {
  .landing-nav { padding: 24px; }
  .landing-choices { grid-template-columns: 1fr; max-width: 400px; gap: 16px; }
  .choice-card { padding: 32px 28px; }
}
