/* ===========================
   VARIABLES GLOBALES
   =========================== */
:root {
  --bg: #060608;
  --bg-soft: #101018;
  --bg-alt: #111218;
  --gold: #d4af37;
  --gold-soft: #f3df9b;
  --text: #f7f7f7;
  --muted: #a0a3b1;
  --border: #272837;
  --accent: #ffffff;
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.6);
}

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

html,
body {
  height: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #191a22 0, #060608 55%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

/* ===========================
   CONTAINER GÉNÉRIQUE
   =========================== */
.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

/* ===========================
   HEADER
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: linear-gradient(
    to bottom,
    rgba(6, 6, 8, 0.96),
    rgba(6, 6, 8, 0.8)
  );
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 16px;
}

/* Logo bloc */
.logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.6);
  background: radial-gradient(circle at top, #2a2a2a, #0c0c0c);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.logo-role {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

/* Nav + switch de langue */
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav a:hover::after {
  width: 100%;
}

/* Switch EN / PT */
.lang-switch {
  display: flex;
  gap: 6px;
  margin-left: 10px;
}

.lang-btn {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s ease;
}

.lang-btn:hover {
  background: rgba(212, 175, 55, 0.06);
  color: var(--text);
}

.lang-btn.active {
  background: linear-gradient(120deg, #f3df9b, #d4af37);
  color: #141214;
  border-color: transparent;
}

/* ================================
   HERO — bloc texte à gauche mais
   vraiment centré verticalement
=================================== */

.hero {
  position: relative;
  padding-block: 40px 40px;      /* marge haut / bas globale */
  overflow: hidden;
}

/* On garde ton overlay tel quel, il recouvre le hero */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(212, 175, 55, 0.18), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(243, 223, 155, 0.12), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

/* C’est CE bloc qu’on centre verticalement */
.hero-content {
  position: relative;
  max-width: 640px;                    /* largeur du texte */
  min-height: calc(100vh - 140px);     /* hauteur ≈ hauteur écran – header */
  display: flex;
  flex-direction: column;
  justify-content: center;             /* centrage VERTICAL du texte */
}

/* On laisse le reste de tes styles hero tels quels :
   .hero-kicker, .hero h1, .hero-subtitle, .hero-cta… */


/* petit surtitre IMMIGRATION · BUSINESS · … */
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--gold-soft);
  margin-bottom: 16px;
}

/* gros titre “Your trusted lawyer in Portugal.” */
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 56px);
  max-width: 16ch;
  margin-bottom: 20px;
}

/* sous-titre gris */
.hero-subtitle {
  max-width: 46ch;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
}

/* boutons alignés à gauche, comme sur la capture */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* responsive : sur mobile le bloc respire un peu plus */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    align-items: flex-start;
  }

  .hero-content {
    padding-block: 64px 56px;
  }
}



/* ===========================
   BOUTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn.primary {
  background: linear-gradient(120deg, #f3df9b, #d4af37);
  color: #141214;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn.ghost {
  border-color: rgba(212, 175, 55, 0.7);
  color: var(--gold-soft);
  background: rgba(6, 6, 8, 0.8);
}

.btn.ghost:hover {
  background: rgba(20, 20, 28, 0.9);
}

/* ===========================
   SECTIONS GÉNÉRALES
   =========================== */
.section {
  padding-block: 72px;
}

.section-dark {
  background: radial-gradient(circle at top, #171725, #050608);
}

.section-title-center {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  margin-bottom: 10px;
}

.section-intro {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  max-width: 50ch;
  margin: 0 auto 32px;
}

/* ===========================
   LAYOUT "SPLIT" (ABOUT + CONTACT)
   =========================== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 32px;
  align-items: flex-start;
}

.split-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  margin-bottom: 12px;
}

.split-text p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 10px;
}

.split-card {
  background: radial-gradient(circle at top, #1f1e2a, #0a0a11);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 20px 20px 18px;
  box-shadow: var(--shadow-soft);
}

.split-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  margin-bottom: 10px;
}

.split-card ul {
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}

.split-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.split-card li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 9px;
  color: var(--gold-soft);
}

/* ===========================
   SERVICES
   =========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  background: linear-gradient(145deg, #101018, #050608);
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 18px 16px 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--gold-soft);
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.service-card ul {
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}

.service-card li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 4px;
}

.service-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-soft);
}

/* ===========================
   CONTACT
   =========================== */
.contact-split {
  align-items: stretch;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 20px;
}

.contact-item h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--accent);
}

/* Bloc "Google Maps preview" */
.map-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(circle at top, #1a1b24, #06070c);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 20px 20px 18px;
  box-shadow: var(--shadow-soft);
}

.map-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
  margin-bottom: 6px;
}

.map-note {
  font-size: 13px;
  color: var(--muted);
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.20);
  background: #050608;
  padding-top: 32px;
  padding-bottom: 16px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* Logo complet dans le footer */
.footer-logo {
  width: 140px;
  height: auto;
  display: block;
  margin: 0 auto 18px auto;
  opacity: 0.92;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.45));
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

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

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 100%);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-block: 52px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
.hero-content {
  padding-block: 80px;   /* tu peux monter à 90–100 si tu veux descendre un peu plus le texte */
}

.section {
  padding: 90px 0;       /* si tu veux resserrer ou aérer toutes les sections */
}
/* Ajuste l'espace entre "Who is Adriana Ayala?" et "Key legal services" */
#about.section {
  padding-bottom: 60px;   /* réduit un peu le bas de la section bio */
}

#services.section {
  padding-top: 40px;      /* réduit le haut de la section services */
}
.map-container iframe {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.15);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.35);
}
/* CONTACT – alignement vertical propre */
#contact .split {
    align-items: center;          /* centre verticalement texte + carte */
}

/* CONTACT – alignement vertical propre */
#contact .split {
    align-items: center;          /* centre verticalement texte + carte */
}

/* CONTACT — centrage vertical texte + carte */
section#contact .container.split {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px; 
}

/* Colonne texte */
section#contact .split-text {
  flex: 1;
}

/* Colonne carte */
section#contact .map-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center; 
}

/* ===== CONTACT — 2 colonnes : texte (gauche) + carte (droite) ===== */

section#contact .container.split {
    display: flex;
    flex-direction: row;     /* 2 colonnes */
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
}

/* Colonne gauche : texte */
section#contact .split-text {
    flex: 1;
}

/* Colonne droite : carte */
section#contact .map-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;    /* centre la carte */
}

/* Conteneur de la carte */
section#contact .map-container {
    width: 100%;
    max-width: 550px;       /* taille max de la carte */
}

/* Carte Google Maps */
section#contact .map-container iframe {
    width: 100%;
    height: 360px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.35);
}
/* === CONTACT + MAP — VERSION MOBILE UNIQUEMENT === */
@media (max-width: 768px) {

  /* Le conteneur passe en colonne */
  section#contact .container.split.contact-split {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  /* Bloc texte (adresse, email, WhatsApp) */
  section#contact .split-text {
    width: 100%;
  }

  /* Bloc map */
  section#contact .split-card.map-placeholder {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  /* L’élément qui contient réellement la carte :
     iframe ou image (selon ce que tu utilises) */
  section#contact .split-card.map-placeholder iframe,
  section#contact .split-card.map-placeholder img {
    width: 100%;
    height: 260px;   /* tu peux monter à 280–300 si tu veux plus grand */
    border-radius: 18px;
    display: block;
  }
}
/* === CONTACT + MAP — VERSION MOBILE (UNIQUE) === */
@media (max-width: 768px) {

  /* Le conteneur passe en colonne sur mobile */
  section#contact .container.split.contact-split {
    display: flex;
    flex-direction: column !important;
    align-items: stretch;
    gap: 24px;
  }

  /* Colonnes texte + map en pleine largeur */
  section#contact .split-text,
  section#contact .split-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Texte : on laisse tout s’afficher correctement */
  section#contact .split-text {
    overflow: visible;
  }

  section#contact .split-text p,
  section#contact .split-text a {
    display: block;
    color: #f7f7f7;
    font-size: 14px;
    line-height: 1.5;
    white-space: normal;
  }

  /* La grille de contact ne casse plus le layout */
  section#contact .contact-grid {
    display: block !important;
    margin: 0 !important;
    gap: 0 !important;
    grid-template-columns: 1fr !important;
  }

  /* On FORCE l’affichage de tout le contenu (adresse, mail, tel) */
  section#contact .contact-grid * {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 6px;
    color: #f7f7f7 !important;
    white-space: normal;
  }


  /* Bloc map en grand format */
  section#contact .split-card.map-placeholder {
    margin: 0 auto;
  }

  section#contact .split-card.map-placeholder iframe,
  section#contact .split-card.map-placeholder img {
    width: 100%;
    height: 260px;      /* ajuste à 280/300 si tu veux plus haut */
    border-radius: 18px;
    display: block;
  }
}
/* --- Contact form --- */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.contact-form label {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    outline: none;
    transition: border 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #4a7cff; /* bleu discret */
}

.contact-form button {
    margin-top: 10px;
}
/* --- Contact grid layout (colonne gauche empilée) --- */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* On garde les blocs bien espacés */
.contact-grid .contact-item {
    margin-bottom: 0;
}
/* --- Alignement des colonnes Contact & Office --- */
.contact-split {
    align-items: center;   /* essaie ça d’abord */
    column-gap: 48px;
}

/* Si tu préfères la carte alignée en haut :
.contact-split {
    align-items: flex-start;
    column-gap: 48px;
}
*/
.contact-form input,
.contact-form textarea {
    background: #111;
    border: 1px solid #444;
    color: #f5f5f5;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
}
/* --- Formulaire centré sous la section contact --- */
.contact-form-section {
    max-width: 520px;        /* largeur du bloc */
    margin: 32px auto 40px;  /* centré + espace en haut et en bas */
    padding: 24px 24px 32px;
    background: rgba(0, 0, 0, 0.4);  /* léger fond pour détacher du fond global */
    border-radius: 12px;
}
/* Couleur dorée pour le titre du formulaire */
#contact-form-title {
    color: #d7c27c;
    font-weight: 600;
}
/* --- Bouton du formulaire (Send) --- */
.btn-primary {
    width: 100%;
    padding: 10px 0;
    border-radius: 8px;

    background: transparent;
    border: 1px solid #d7c27c; /* doré */
    
    color: #d7c27c; /* texte doré */
    font-weight: 600;
    font-size: 14px;

    transition: all 0.25s ease;
}

.btn-primary {
    width: 100%;
    padding: 12px 0;
    margin-top: 12px;

    background: rgba(215, 194, 124, 0.08); /* gold très léger */
    border: 1px solid #d7c27c;
    border-radius: 8px;

    color: #d7c27c;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;

    box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background: #d7c27c;       /* gold plein */
    color: #000;               /* lisible */
    box-shadow: 0 0 16px rgba(215, 194, 124, 0.45);
}
/* --- Style du message de statut du formulaire --- */
#contact-form-status {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 400;
    opacity: 0;              /* Caché par défaut */
    transition: opacity 0.8s ease-in-out;   /* Fade in / fade out */
    text-align: left;
    min-height: 18px;        /* Garde la place même quand caché */
}












